Sorry but I am somewhat of a newbie.
Camaleón wrote:
I'm not sure what are your goals with this step because the router hasn't
to resolve local dns queries, but bind9 :-?
Don't connected computers resolve dns queries at the router? My goal is
to make all computers on the local network automatically use my bind9
server.
How are you exactly querying the router? Did you added the router's local
IP into the DNS zone?
With 'nslookup mylocaldomain.com 192.168.1.1'. I don't know much about
DNS. I attach my zone files.
$TTL 1h
@ IN SOA ns1.panayk.endofinternet.org. hostmaster.panayk.endofinternet.org. (
0000000001;
1h;
15m;
2w;
1h
)
IN NS ns1.panayk.endofinternet.org.
10 IN PTR panayk.endofinternet.org.
;
; SOA
;
$TTL 1h
@ IN SOA ns1.panayk.endofinternet.org.
hostmaster.panayk.endofinternet.org. (
0000000001 ; Serial number
1h ; Slave refresh
15m ; Slave retry
2w ; Slave expire
1h ; Negative Cache TTL
)
;
; NS RECORDS
;
@ IN NS ns1.panayk.endofinternet.org.
@ IN NS ns2.panayk.endofinternet.org.
;
; MX RECORD
;
@ IN MX 10 mx.panayk.endofinternet.org.
;
; A RECORDS
;
@ IN A 192.168.1.10
www IN A 192.168.1.10
ns1 IN A 192.168.1.10
ns2 IN A 192.168.1.10
mx IN A 192.168.1.10
;desktop IN A 192.168.1.21
;laptop IN A 192.168.1.22
router IN A 192.168.1.1