Last active
August 29, 2015 14:26
-
-
Save rektide/f1c23ad9393dc40575ce to your computer and use it in GitHub Desktop.
PowerDNS Alias Attempt
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 characters
# dig -p 5333 @127.0.0.1 google.yoyodyne.net | |
; <<>> DiG 9.9.5-9-Ubuntu <<>> -p 5333 @127.0.0.1 google.yoyodyne.net | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57553 | |
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 | |
;; WARNING: recursion requested but not available | |
;; OPT PSEUDOSECTION: | |
; EDNS: version: 0, flags:; udp: 1680 | |
;; QUESTION SECTION: | |
;google.yoyodyne.net. IN A | |
;; AUTHORITY SECTION: | |
yoyodyne.net. 10 IN SOA ns.yoyodyne.net.yoyodyne.net. hostmaster.yoyodyne.net.yoyodyne.net. 1 30 60 30 10 | |
;; Query time: 0 msec | |
;; SERVER: 127.0.0.1#5333(127.0.0.1) | |
;; WHEN: Thu Jul 30 17:15:34 EDT 2015 | |
;; MSG SIZE rcvd: 111 | |
# dig -p 5333 @127.0.0.1 google.yoyodyne.net. ANY | |
17:16:50 | |
; <<>> DiG 9.9.5-9-Ubuntu <<>> -p 5333 @127.0.0.1 google.yoyodyne.net. ANY | |
; (1 server found) | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38871 | |
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 | |
;; WARNING: recursion requested but not available | |
;; OPT PSEUDOSECTION: | |
; EDNS: version: 0, flags:; udp: 1680 | |
;; QUESTION SECTION: | |
;google.yoyodyne.net. IN ANY | |
;; ANSWER SECTION: | |
google.yoyodyne.net. 30 IN TYPE260 \# 12 06676F6F676C6503636F6D00 | |
;; Query time: 0 msec | |
;; SERVER: 127.0.0.1#5333(127.0.0.1) | |
;; WHEN: Thu Jul 30 17:16:50 EDT 2015 | |
;; MSG SIZE rcvd: 72 |
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 characters
$ORIGIN yoyodyne.net | |
$TTL 30s ; default time-to-live | |
@ IN SOA ns.yoyodyne.net hostmaster.yoyodyne.net ( | |
1; serial | |
30s; refresh | |
60s; retry | |
30s; expire | |
10s; minimum time-to-live | |
) | |
@ IN NS ns | |
@ IN A 127.0.0.1 | |
ns IN A 127.0.0.1 | |
google IN ALIAS google.com. | |
cnn IN ALIAS cnn.com. | |
self IN ALIAS neophile.local. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment