Created
August 18, 2017 21:06
-
-
Save ghazanhaider/27fb757521a4407bdedfc43b82f6370d to your computer and use it in GitHub Desktop.
named zones
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
; forward zonefile for test.com | |
$ORIGIN test.com. | |
$TTL 1h | |
test.com. IN SOA ns.test.com. username.test.com. ( 2007120710 1d 2h 4w 1h ) | |
test.com. IN NS ns | |
test.com. IN A 192.168.2.1 | |
ns IN A 192.168.2.1 | |
win IN A 192.168.2.2 | |
vcenter IN A 192.168.2.10 | |
; reverse PTR zone file | |
$ORIGIN 2.168.192.in-addr.arpa. | |
$TTL 86400 | |
@ IN SOA ns.test.com. user.test.com. ( 2007120710 1d 2h 4w 1h ) | |
@ IN NS ns.test.com. | |
1 IN PTR ns.test.com. | |
2 IN PTR win.test.com. | |
10 IN PTR vcenter.test.com. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment