1834601 Members
4008 Online
110069 Solutions
New Discussion

Re: DDNS & DHCP

 
SOLVED
Go to solution
Bob Gulien
Advisor

DDNS & DHCP

Hi all,

I have Bind 9.2.0 installed and want to use ddns. Everything is installed by the book and dhcp gives ip-addresses, but in the syslog I have a error message: "bootpd[8772] ADD operation of A and PTR RR's for to DDNS failed". So it seems that ddns is not working. Anyone have an idea what is wrong?

Bob Gulien
7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: DDNS & DHCP

What is there in DNS server's logs ?

regards,
U.SivaKumar
Innovations are made when conventions are broken
Bob Gulien
Advisor

Re: DDNS & DHCP

Thanks for your reply.
This fault appears on a HP-UX 11.11 DNS-server but couldn't find a seperate server log.
Only the /var/adm/syslog/syslog.log
U.SivaKumar_2
Honored Contributor

Re: DDNS & DHCP

Hi,

Have you enabled Dynamic update facility in your DNS server for your zone with allow-update or update-policy statement

Example:

Put this line in named.conf after your "zone" statement (forward zone) defining your domain name,


allow-update { any; };

Restart named. It should work now.

regards,
U.SivaKumar







Innovations are made when conventions are broken
Rainer von Bongartz
Honored Contributor

Re: DDNS & DHCP

Bob,

I would not allow dns update from "any", this could be in-secure

better add a line


allow-update {IP-add1;IP-add2;} ;

where IP-add* are those servers that are allowed to update the DNS server. (could be your bootp server for example)

To be honest I got quite some problems with HP's bootp server and DDNS

I finally switched to ISC's dhcpd .
http://www.isc.org/products/DHCP/

Regards
Rainer



He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Bob Gulien
Advisor

Re: DDNS & DHCP

Thanks,

Yes, the allow-update lines are in place in the named.conf file.

this is my named.conf entry:
zone "lc-domain.int" {
type master;
file "db.lc-domain";
allow-update {ip-address;};
};

and some more zone's as well.
Jochen Heuer
Respected Contributor
Solution

Re: DDNS & DHCP

Hi Bob,

have you set the following parameters in dhcptab:

ddns-address=:
dn=:
sp: <-- ignore pre-requisites

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
William King_2
New Member

Re: DDNS & DHCP

We had the same problem when we first installed DHCP/DDNS.

For support you should be running both the DHCP and DDNS processes on the same system and it should be HP-UX 11.ii or better.

Also assure you are on the latest patch. PHNE_28196


dhcp_default_client_settings: lease-time=43200: ds=10.10.10.3: gw=10.10.10.4: call-on-decline=/etc/dhcpscripts/decline: call-on-release=/etc/dhcpscripts/release: call-on-lease-extend=/etc/dhcpsripts/extend

dhcp_pool_group: ddns-address=10.10.10.2: pcsn: pool-name=PC-Pool: hn: ba: dn=local.domain.com: na=10.10.10.1: addr-pool-start-address=10.10.10.4: addr-pool-last-address=10.10.20.20: subnet-mask=255.255.240.0: lease-time=43200: lease-policy=accept-new-clients: allow-bootp-clients=FALSE
over and over again