Operating System - HP-UX
1753455 Members
6227 Online
108794 Solutions
New Discussion юеВ

nsupdate cannot update DNS server

 
Netcon
Frequent Advisor

nsupdate cannot update DNS server

Hi

I'm trying to use nsupdate to add my server (HP-UX 11.11) A record to the DNS server but it doesn't seem to work.

The following is the command I used (taken from manual):

>update add newhost.example.com 86400 A 172.16.1.1

I received no error message and no confirmation message.
Do I need to do anything else after executing the above command?

Thanks !


?
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: nsupdate cannot update DNS server

Shalom,

Try another comand. npupdate

See the man page for usage.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Netcon
Frequent Advisor

Re: nsupdate cannot update DNS server

Hi SEP

I can't find the npupdate command. Can you please confirm?

Thanks.
?
Johnson Punniyalingam
Honored Contributor

Re: nsupdate cannot update DNS server

Hi Netcon,

Confirm, Its there !!

may be you path no set properly

type # which nsupdate

/usr/bin/nsupdate

root@ [/] # uname -a
HP-UX rimsus2 B.11.11 U 9000/800 1440564391 unlimited-user license

nsupdate(1) nsupdate(1)

NAME
nsupdate - Dynamic DNS update utility

SYNOPSIS
nsupdate [-d] [-v] [filename]

DESCRIPTION
nsupdate is used to submit Dynamic DNS Update requests as defined in
RFC2136 to a name server. This allows resource records to be added or
removed from a zone without manually editing the zone file. A single
update request can contain requests to add or remove more than one
resource record.
Problems are common to all, but attitude makes the difference
Netcon
Frequent Advisor

Re: nsupdate cannot update DNS server

Hi Johnson

I know "nsupdate" is there, but SEP was recommending another command "npupdate".

BTW, "nsupdate" doesn't work for me.

Thanks.
?
Johnson Punniyalingam
Honored Contributor

Re: nsupdate cannot update DNS server

Opps, sorry my mistake


Can please check the below Thread, mean while,

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=840826&admit=109447627+1229673379306+28353475
Problems are common to all, but attitude makes the difference