Created
April 7, 2017 08:07
-
-
Save artm/d3086d3f5d44c5f182e63fe0c6dc345c to your computer and use it in GitHub Desktop.
local dns setup
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
; /etc/bind/db.mancave.zzz | |
$TTL 604800 | |
@ IN SOA mancave.zzz. admin.mancave.zzz. ( | |
3 ; Serial | |
604800 ; Refresh | |
86400 ; Retry | |
2419200 ; Expire | |
604800 ) ; Negative Cache TTL | |
; | |
@ IN NS ns.mancave.zzz. | |
@ IN A 127.0.0.1 | |
@ IN AAAA ::1 | |
ns IN A 127.0.0.1 | |
* IN A 127.0.0.1 |
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
# /etc/resolvconf/resolv.conf.d/head | |
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) | |
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN | |
nameserver 127.0.0.1 |
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
# /etc/bind/named.conf.local | |
zone "mancave.zzz" { | |
type master; | |
file "/etc/bind/db.mancave.zzz"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment