Bind 8.2.3 on NT: nsupdate problems

Danny Mayer mayer at gis.net
Wed Mar 7 17:27:16 UTC 2001


         Create a resolv.conf file.  On Win2K it needs to be created as the
library can't find the registry entries for the nameservers.  The location of
these registry entries changed between NT4.0 and Win2K. In
system32\drivers\etc create a file named resolv.conf and enter the following
set of data:
domain domain-name-of-machine
nameserver 127.0.0.1
nameserver other-address

         I believe that nsupdate needs this in order to work on Win2K.

         Danny
At 07:19 AM 3/7/01, David Lightman Robles wrote:
>Hi all,
>
>Im runing Bin 8.2.3 on Win2K Prof, and even though i have properly
>configured the named.conf to use dynamic updates (  allow-update {
>10.0.1/24; }; ), when i use nsupdate, i get the following error (running
>with -d(ebug) option set):
>
>C:\Program files\BIND\bin>nsupdate -d
>update add test.mydomain.com 3600 A 195.57.132.50
>
>;; res_findzonecut: START dname='test.mydomain.com' class=IN, zsize=1025,
>naddrs=3
>;; res_findzonecut: get the soa, and see if it has enough glue
>;; res_nmkquery(QUERY, test.mydomain.com., IN, SOA)
>;; res_send()
>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7480
>;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>;; QUERY SECTION:
>;;      test.mydomain.com, type = SOA, class = IN
>
>;; Querying server (# 1) address = 0.0.0.0
>res_send: connect(dg) ([0.0.0.0].53): No such device
>;; Querying server (# 1) address = 0.0.0.0
>res_send: connect(dg) ([0.0.0.0].53): No such device
>;; res_findzonecut: do_query: res_nsend failed
>;; res_findzonecut: get_soa: do_query('test.mydomain.com.', IN) failed (-1)
>
>;; res_findzonecut: FINISH n=-1 (Unknown error)
>;; res_nupdate: res_findzonecut failed (-1)
>
>
>It seems as if the program is not able to detect the IP address of the dns
>server (nsupdate is run locally at the same server, so 127.0.0.1 would
>work), but it tries to query the server at [0.0.0.0].53 which is not right.
>Any ideas to make the proggie use the local server (127.0.0.1) or any other
>IP address (if run remotely) ? There are no command line options for that.
>Do i need to create a config file for nsupdate? By the way, the machine
>runing the dns service and where im trying to run nsupdate from, has dns
>configured for use itself  (network properties, dns servers).
>
>Thanks in advance.
>



More information about the bind-users mailing list