DDNS DHCP problem
Dear all,
I have a big problem to configure Dynamic DNS and DHCP with Bind9 on a debian machine. I have no error with named-checkconf and named-checkzone. I have a debian server with ip 192.168.1.1, and a debian host (machine-user) aquiring ip by dhcp (192.168.1.11 dhcp working). Here my NSLOOKUP commands : Code:
> 192.168.1.11 And, of course, I don't know why. All my DNS conf files are in /etc/bind. Can you take a look into them? dhcpd.conf Code:
server-identifier linux; Code:
include "/etc/bind/named.conf.options"; Code:
zone "utopia.net" { Code:
options { Code:
$ORIGIN . Code:
$ORIGIN . Code:
main utopia.net Code:
127.0.0.1 localhost |
Increment the serial numbers, reboot and check the logs.
Post the output here if you like. |
Hi,
I incremented the version of the 2 zones. Now i got a : server can't find 11.1.168.192.in-addr.arpa.: NXDOMAIN server can't find machine-user: NXDOMAIN How I can see if DHCP update my dns zones? |
I have to tell you that my knowledge of Bind and DHCP is limited, but perhaps we can both learn from this.
It is my understanding that Bind is used for Static IP's ; addresses that you have assigned. DHCP is used when the server assigns the IP without your intervention. So looks to me like we have two things going on here in confict: You are telling BIND that the IP's are: Quote:
Did I misunderstand ? Quote:
so if it your machine is .11 today it may be .12 tomorrow, if .11's lease has not expired. I would suggest using only static IP's on your lan only, and disable DHCP. It is more 'secure' that way too. I can't plug my laptop into your lan and get an IP ! Let us know how you are doing... Bon Courage ! |
Hi,
192.168.1.2 is my DC (win 2K8R2) with a reserved IP as you can see on dhcpd.conf . I made a static declaration in the zone because the IP will not change. 192.168.1.11 is the IP that machine-user obtain from the DHCP. I need to use DHCP, I can't populate DNS by myself, that why I want to use Dynamic DNS with DHCP update. So, no idea why I obtain NXDOMAIN error in the 2 ways? |
All times are GMT -5. The time now is 01:38 AM. |