Re: Debian Server hostname and Win 2003 DNS server
Hi all!
On 6/25/08, Stackpole, Chris <CStackpole@barbnet.com> wrote:
> 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
...
> 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.
Done.
But i have this output:
;; ->>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
update failed: REFUSED
I'm thinking that there could be some problems in the DNS server...
Reply to: