Updating primary address.

Mark_Andrews at isc.org Mark_Andrews at isc.org
Sat Mar 2 01:21:32 UTC 2002


> 
> 
> Can nsupdate update the primary IP for a zone?
> the domain is set up on the server 216.68.75.100 although that is not an
> authoritative host for it.
> this same syntax worked for adding a cname ssh.bodley.info, but it will not
> modify the primary listing.
> 
> nsupdate -y bodley:thispassworksfortony
> > server 127.0.0.1
> > zone bodley.info
> > update delete bodley.info A
> > update add bodley.info 1800 A 24.29.6.102
> >
> > quit
> [root at ns named]# nslookup bodley.info
> Note:  nslookup is deprecated and may be removed from future releases.
> Consider using the `dig' or `host' programs instead.  Run nslookup with
> the `-sil[ent]' option to prevent this message from appearing.
> Server:         216.68.75.100
> Address:        216.68.75.100#53
> 
> Name:   bodley.info
> Address: 24.29.6.101
> 
> 

	Use fully-qualified addresses.  You actually added
	"bodley.info.bodley.info 1800 A 24.29.6.102".  The
	names are treated as relative once you specify a zone.

	server 127.0.0.1
	zone bodley.info.
	update delete bodley.info. A
	update add bodley.info. 1800 A 24.29.6.102
	send

	Note: we are thinking about removing support for relative
	names.

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list