Created
January 29, 2016 21:00
-
-
Save ahupowerdns/38932960414f02c786f7 to your computer and use it in GitHub Desktop.
This file contains 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
# pdnsutil create-zone example.com ns1.example.com | |
Creating empty zone 'example.com.' | |
Also adding one NS record | |
# pdnsutil add-record example.com ns1 A 192.168.1.2 | |
New rrset: | |
ns1.example.com. IN A 3600 192.168.1.2 | |
# pdnsutil list-zone example.com | |
example.com. 3600 IN NS ns1.example.com. | |
example.com. 3600 IN SOA ns1.example.com hostmaster.example.com 1 10800 3600 604800 3600 | |
ns1.example.com. 3600 IN A 192.168.1.2 | |
$ dig +noall +answer ns1.example.com @127.0.0.1 | |
ns1.example.com. 3600 IN A 192.168.1.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment