Soldato
Hi all
Had my debian box doing dns before on my old network 192.168.1.0
but my new network in my new place has kinda been setup with 192.168.0.0
So i edited the zones and reloaded and restarted bind but im still getting the old ips when i nslookup. what do i need to do to get it to refresh? or is it still looking somewhere on the system i don't know about ?
resolv.conf
/etc/bind/zones/whitecrook.lan.db
/etc/bind/zones/rev.0.168.192.in-addr.arpa
nslookup
Had my debian box doing dns before on my old network 192.168.1.0
but my new network in my new place has kinda been setup with 192.168.0.0
So i edited the zones and reloaded and restarted bind but im still getting the old ips when i nslookup. what do i need to do to get it to refresh? or is it still looking somewhere on the system i don't know about ?
resolv.conf
Code:
domain whitecrook.lan
search whitecrook.lan
nameserver 192.168.0.140
nameserver 194.168.4.100
nameserver 194.168.8.100
/etc/bind/zones/whitecrook.lan.db
Code:
$TTL 604800
$ORIGIN whitecrook.lan.
@ IN SOA debian.whitecrook.lan. laser.whitecrook.lan. (
// Do not modify the following lines!
2012081405
28800
3600
604800
38400
)
TXT "whitecrook.lan, serving YOUR domain :)"
// Replace the following line as necessary:
// ns1 = DNS Server name
// mta = mail server name
// example.com = domain name
@ IN NS debian.whitecrook.lan.
@ IN MX 10 mail.whitecrook.lan.
@ IN A 192.168.0.140
// Replace the IP address with the right IP addresses.
localhost IN A 127.0.0.1
debian IN A 192.168.0.140
dd-wrt IN A 192.168.0.1
laptopwired IN A 192.168.0.119
lappydip IN A 192.168.0.194
themacbook IN A 192.168.0.10
mail IN A 192.168.0.110
ns1 IN A 192.168.0.140
/etc/bind/zones/rev.0.168.192.in-addr.arpa
Code:
//replace example.com with yoour domain name, ns1 with your DNS server name.
// The number before IN PTR example.com is the machine address of the DNS server. in my case, it's 1, as my IP address is 192.168.0.1.
@ IN SOA whitecrook.lan. laser.whitecrook.lan. (
2012081405;
28800;
604800;
604800;
86400
)
IN NS debian.whitecrook.lan.
140 IN PTR whitecrook.lan.
140.0.168.192.in-addr.arpa IN PTR ns1.whitecrook.lan.
nslookup
Code:
debian:/etc/bind# nslookup debian
Server: 192.168.0.140
Address: 192.168.0.140#53
Name: debian.whitecrook.lan
Address: 192.168.1.140
debian:/etc/bind#
Last edited: