Chris understand well my situation.
So i try his suggest:
# apt-get install dnsutils
# touch /etc/nsupdate.conf

edit that file in this way:

update delete HostName.DomainName.com. A
update add HostName.DomainName.com. 86400 A 192.168.1.1
show
send
quit

(where HostName.DomainName.com is my Debian fqdn, and 192.168.1.1 my
Debian ip address).
Then run the following command:
# nsupdate -v /etc/nsupdate.conf

Here you are my output:

Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:      0
;; flags: ; ZONE: 0, PREREQ: 0, UPDATE: 0, ADDITIONAL: 0
;; UPDATE SECTION:
HostName.DomainName.com.  0       ANY     A
HostName.DomainName.com.  86400   IN      A       192.168.1.1

couldn't get address for 'DNSHostName.DomainName.com': not found

If i try to ping DNSHostName.DomainName.com, my debian machine resolve
the record.
Any other suggest?

Regards!
M


-- 


Hello again,
To be honest, I am not sure why that did not work. To be sure I typed
out everything to you correctly, I just added a Debian Lenny machine to
the Windows 2k3 DNS server at my work with the same (cut and paste)
directions. It worked right off the bat.

I am 100% certain that this is the utility you need, but I am thinking
you have something on your network that differs just enough from mine to
make this different.

In the man page for nsupdate it says that you can add a specific server
to send the request to.

My suggestion would be to try adding:
server DNSHostName.DomainName.com

as the first line in your /etc/nsupdate.conf file. Should it not
resolve, try the IP.

Hope this helps. Have fun!
~Stack~



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to