dyn. dns-update
Tom Horstmann
webmaster at 7thweb.de
Fri Nov 16 00:20:14 UTC 2001
> > nsupdate does not seem to work the way i did it:
> > ----
> > update delete test2.domain.de A
> > update add test2.domain.de 30 A 62.96.170.43
> >
> > ---
> > The .hosts-file is the same before and after.
>
> But did named create a .log or .jnl file? Did you use a DNS
> query tool to see whether an address record for test2.domain.de
> had been added? You should also try running nsupdate in debug
> mode to see if it's working. And remember to use "send" or a
> blank line to induce nsupdate to send the update.
A .log or .jnl i can't find.
What do you mean with query tool? I just looked typed
"less 7thweb.de.hosts".
Debug gives some information, but i don't see any hints in there.
Do you??
# nsupdate -d /home/seventhweb/nsup
;; res_findzonecut: START dname='test4.7thweb.de' class=IN, zsize=1025,
naddrs=3;; res_findzonecut: get the soa, and see if it has enough glue
;; res_nmkquery(QUERY, test4.7thweb.de., IN, SOA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3188
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; test4.7thweb.de, type = SOA, class = IN
;; Querying server (# 1) address = 217.172.161.46
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3188
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;; test4.7thweb.de, type = SOA, class = IN
;; AUTHORITY SECTION:
7thweb.de. 7S IN SOA ns.crazy-dns.de.
webmaster.crazy-service.de. (
2001111502 ; serial
3M ; refresh
15S ; retry
1S ; expiry
7S ) ; minimum
;; res_findzonecut: get the ns rrset and see if it has enough glue
;; res_nmkquery(QUERY, 7thweb.de, IN, NS)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3189
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUERY SECTION:
;; 7thweb.de, type = NS, class = IN
;; Querying server (# 1) address = 217.172.161.46
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3189
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
;; QUERY SECTION:
;; 7thweb.de, type = NS, class = IN
;; ANSWER SECTION:
7thweb.de. 7S IN NS ns.crazy-dns.de.
7thweb.de. 7S IN NS ns2.crazy-dns.de.
;; ADDITIONAL SECTION:
ns.crazy-dns.de. 9h55m31s IN A 217.172.161.46
ns2.crazy-dns.de. 9h55m31s IN A 195.94.83.15
;; res_findzonecut: get the missing glue and see if it's finally enough
;; res_findzonecut: add_addrs: 1
;; res_findzonecut: add_addrs: 1
;; res_findzonecut: satisfy(ns.crazy-dns.de): 2
;; res_findzonecut: FINISH n=2 (OK)
;; res_nupdate: res_mkupdate -> 49
;; res_send()
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 3190
;; flags:; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;; 7thweb.de, type = SOA, class = IN
test4.7thweb.de. 30S IN A 62.96.171.143
Here the probs seem to begin:
;; Querying server (# 1) address = 217.172.161.46
server rejected query:
;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 3190
;; flags: qr ra; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;; 7thweb.de, type = SOA, class = IN
test4.7thweb.de. 30S IN A 62.96.171.143
;; Querying server (# 2) address = 195.94.83.15
server rejected query:
;; ->>HEADER<<- opcode: UPDATE, status: REFUSED, id: 3190
;; flags: qr ra; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
;; 7thweb.de, type = SOA, class = IN
test4.7thweb.de. 30S IN A 62.96.171.143
;; res_nupdate: res_nsend: send error, n=-1 (Connection timed out)
In this case nsupdate was run by root. Is it the same to run it
as normal user??
Sorry for that huge mail.
Regards,
TomH
More information about the bind-users
mailing list