So I'm setting up BIND on a DNS server and it appears to function as it should for forward lookups, but I want to get anyone familiar with BIND to check the config because there's conflicting info on the internet. I want to be sure I'm using the right syntax and shit.
Here's the forward lookup config:
Code: Select all
$TTL 3600
gtfo.local. IN SOA blackhole.gtfo.local. root.gtfo.local. (
1 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)
;
; DNS Servers
;
gtfo.local. IN NS blackhole
;
; Computer names and records
;
hackedpackard IN A 192.168.3.1
blackhole IN A 192.168.3.2
;
; Aliases
;
;www IN CNAME blackhole
;
; Mail MX Records
;
;gtfo.local. IN MX 10 blackhole.gtfo.local.
Code: Select all
$TTL 3600
3.168.192.in-addr.arpa. IN SOA blackhole.gtfo.local. root.gtfo.local. (
1 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ; Minimum TTL
)
;
; DNS Servers
;
3.168.192.in-addr.arpa. NS blackhole.gtfo.local.
;
; Computer IPs
;
1 PTR hackedpackard
2 PTR blackhole
1) Should the computer names in the config use the FQDN (blackhole.gtfo.local) or is the short name (blackhole) fine?
2) Does a period (".") have to be placed at the end of the computer names?
Anyone see anything incorrect in these configs?