From a3c4c50721ae0d1b6995a01187ff8fd8f2b3d9e4 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 16 Mar 2023 14:02:56 -0400 Subject: [PATCH] Update 'README.md' --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 35a6bf6..1a9229a 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,14 @@ This lovely python script allows you to fetch ip address form cloudflare dns rec } ``` The script has many useful featues: -- `python3 dns_fetch.py -a -n -i` which will return only the ip address of the A record corresponding to default_name. - - This can be used in bash commands: `ssh username@$(python3 dns_fetch.py -a -n -i)` -- `python3 dns_fetch.py -a` will return all A records -- `python3 dns_fetch.py -c` will return all CNAME records -- `python3 dns_fetch.py` will print the raw json from cloudflare -- `python3 dns_fetch.py -n` will print all records corresponding to default_name \ No newline at end of file +- `python3 dns_fetch.py -a -n -i` + - Returns only the ip address of the A record corresponding to default_name. + - This can be used in bash commands: `ssh username@$(python3 dns_fetch.py -a -n -i)` +- `python3 dns_fetch.py -a` + - Returns all A records +- `python3 dns_fetch.py -c` + - Returns all CNAME records +- `python3 dns_fetch.py` + - Prints the raw json from cloudflare +- `python3 dns_fetch.py -n` + - Prints all records corresponding to default_name \ No newline at end of file