Last active
January 6, 2016 17:05
-
-
Save diegopacheco/260940e6a4f0fde1ae65 to your computer and use it in GitHub Desktop.
Revisions
-
diegopacheco revised this gist
Nov 17, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -42,4 +42,5 @@ cli53 rrcreate "DNS_ZONE_ID" "NAME" TXT "1 2 3 4" --replace --ttl "60" * http://www.thegeekstuff.com/2012/02/dig-command-examples/ * https://aws.amazon.com/code/Amazon-Route-53 * http://docs.aws.amazon.com/general/latest/gr/Welcome.html * https://www.coveros.com/auto-register-an-ec2-host-with-route53-dns/ * http://www.highbrow.com.au/blog/migrating-dns-zoneedit-amazon-route-53 -
diegopacheco renamed this gist
Nov 17, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
diegopacheco revised this gist
Nov 17, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,8 @@ dig -x 209.132.183.81 +short ### Register DNS ```bash cli53 list cli53 rrcreate "DNS_ZONE_ID" "NAME" CNAME "HOSTNAME.AWS_AZ.compute.amazonaws.com" --replace --ttl "60" cli53 rrcreate "DNS_ZONE_ID" "NAME" TXT "1 2 3 4" --replace --ttl "60" ``` ##### Resources -
diegopacheco revised this gist
Nov 17, 2015 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,6 +5,12 @@ sudo yum install -y bind-utils pip install cli53 ``` ### Figureout the box name? ```bash /opt/aws/bin/ec2-metadata | grep 'public-hostname:' | cut -d ' ' -f 2 ``` ### Commands ```bash -
diegopacheco revised this gist
Nov 16, 2015 . No changes.There are no files selected for viewing
-
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,7 @@ ```bash sudo yum install -y bind-utils pip install cli53 ``` ### Commands -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,6 +21,12 @@ dig redhat.com +short dig -x 209.132.183.81 +short ``` ### Register DNS ```bash cli53 list cli53 rrcreate "DNS_ID" "NAME" CNAME "HOSTNAME.AWS_AZ.compute.amazonaws.com" --replace --ttl "60" ``` ##### Resources * https://github.com/barnybug/cli53 -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,4 +27,5 @@ dig -x 209.132.183.81 +short * http://amix.dk/blog/post/19712 * http://www.thegeekstuff.com/2012/02/dig-command-examples/ * https://aws.amazon.com/code/Amazon-Route-53 * http://docs.aws.amazon.com/general/latest/gr/Welcome.html * https://www.coveros.com/auto-register-an-ec2-host-with-route53-dns/ -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,6 +23,8 @@ dig -x 209.132.183.81 +short ##### Resources * https://github.com/barnybug/cli53 * http://amix.dk/blog/post/19712 * http://www.thegeekstuff.com/2012/02/dig-command-examples/ * https://aws.amazon.com/code/Amazon-Route-53 * http://docs.aws.amazon.com/general/latest/gr/Welcome.html -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,6 @@ dig -x 209.132.183.81 +short ##### Resources * http://www.thegeekstuff.com/2012/02/dig-command-examples/ * https://aws.amazon.com/code/Amazon-Route-53 * http://docs.aws.amazon.com/general/latest/gr/Welcome.html -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,7 @@ dig redhat.com +noall +answer dig redhat.com NS +noall +answer dig -t NS redhat.com +noall +answer dig redhat.com +short dig -x 209.132.183.81 +short ``` ##### Resources -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,6 +17,7 @@ dig redhat.com +noall +answer ```bash dig redhat.com NS +noall +answer dig -t NS redhat.com +noall +answer dig redhat.com +short ``` ##### Resources -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,4 +16,9 @@ dig redhat.com +noall +answer ```bash dig redhat.com NS +noall +answer dig -t NS redhat.com +noall +answer ``` ##### Resources * http://www.thegeekstuff.com/2012/02/dig-command-examples/ -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,10 @@ sudo yum install -y bind-utils dig redhat.com dig redhat.com +nocomments +noquestion +noauthority +noadditional +nostats dig redhat.com +noall +answer ``` ##### Queries ```bash dig redhat.com NS +noall +answer ``` -
diegopacheco revised this gist
Nov 16, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,5 @@ sudo yum install -y bind-utils ```bash dig redhat.com dig redhat.com +nocomments +noquestion +noauthority +noadditional +nostats dig redhat.com +noall +answer ``` -
diegopacheco created this gist
Nov 16, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ ### How to Install on CentOs? ```bash sudo yum install -y bind-utils ``` ### Commands ```bash dig redhat.com dig redhat.com +nocomments +noquestion +noauthority +noadditional +nostats ```