problem with nsupdate
Cricket Liu
cricket at nxdomain.com
Sun Aug 26 22:13:24 UTC 2001
> i want to update the dynamic ip´s of our clients via nsupdate. the
> dns-server is bind9. i have edited the /etc/named.conf like the following:
> key dyndns.xxx.com. {
> algorithm hmac-md5;
> secret "xxxxx";
> };
>
> zone "dyndns.xxx.com" {
> type master;
> file "dyndns.xxx.com";
> notify yes;
> allow-update { any ;};
> };
>
> the key is generated with dnssec-keygen:
> dnssec-keygen -a hmac-md5 -b 128 -n HOST dyndns.test.com
Did you really call the key "dyndns.xxx.com" in named.conf but
dyndns.test.com
here? Or was that just a mistake you made when trying to conceal the domain
name? The name of the key must match.
> now i try to update the ip from one of the clients:
> nsupdate -k /etc:dyndns.test.com:xxxxx
What's "/etc:dyndns.test.com:xxxxx"? The option argument that -k takes
changed in between BIND 8 and BIND 9, but the proper syntax is either
<directory>:<keyname> or <filename>.
> >server 195.x.x.x
> >update delete dyndns.xxx.com in a
> >update add dyndns.xxx.com 300 in a 121.x.x.x (dynmic ip of the client)
> >quit
>
> the big problem is that *nothing* happend. no error message on the client
> nor the dns-server.
Try running nsupdate with the -d option, to turn debugging on.
cricket
More information about the bind-users
mailing list