Created
May 14, 2019 07:49
-
-
Save guftall/7637c49ed437ac7900fab9f82723dcd1 to your computer and use it in GitHub Desktop.
DNS
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
; | |
; BIND reverse data file for local loopback interface | |
; | |
$TTL 604800 | |
@ IN SOA localhost. root.localhost. ( | |
1 ; Serial | |
604800 ; Refresh | |
86400 ; Retry | |
2419200 ; Expire | |
604800 ) ; Negative Cache TTL | |
; | |
@ IN NS ns. | |
1.0.0 IN PTR ns.guftall.ir. | |
54 IN PTR guftall.ir. |
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
; | |
; BIND data file for local loopback interface | |
; | |
$TTL 604800 | |
@ IN SOA guftall.ir. mail.guftall.ir. ( | |
3 ; Serial | |
604800 ; Refresh | |
86400 ; Retry | |
2419200 ; Expire | |
604800 ) ; Negative Cache TTL | |
; | |
@ IN NS ns1.guftall.ir. | |
@ IN NS ns2.guftall.ir. | |
@ IN A 136.243.190.54 | |
@ IN AAAA ::1 | |
ns1 IN A 136.243.190.54 | |
ns2 IN A 136.243.190.54 | |
guftall.ir. IN A 136.243.190.54 |
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
// | |
// Do any local configuration here | |
// | |
// Consider adding the 1918 zones here, if they are not used in your | |
// organization | |
//include "/etc/bind/zones.rfc1918"; | |
zone "guftall.ir" { | |
type master; | |
file "/etc/bind/db.guftall.ir"; | |
}; | |
zone "190.243.136.in-addr.arpa" { | |
type master; | |
file "/etc/bind/db.136"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment