how to use nsupdate to insert PTR record ?

Patrick_Scannell at fws.gov Patrick_Scannell at fws.gov
Wed Mar 8 17:38:39 UTC 2000


> Can someone please post an example of using nsupdate to add a PTR record
to
> an in-addr.arpa file?

Suppose you want to add PTR record for IP: 1.2.3.4 to name
'some.other.name'
with TTL 3600 through 'nsupdate' command
type the following:

update add 4.3.2.1.in-addr.arpa 3600 in ptr some.other.name.

(note the reversed order in IP)

--
kaczor





"Philippe LE YONCOURT" <philippe.le.yoncourt at sacem.fr>@news3.isdnet.net on
03/08/2000 08:00:16 AM

Please respond to "Philippe LE YONCOURT" <philippe.le.yoncourt at sacem.fr>

Sent by:  news at news3.isdnet.net


To:   comp-protocols-dns-bind at moderators.isc.org
cc:

Subject:  how to use nsupdate to insert PTR record ?

Hi all


nsupdate works fine with A and CNAME type
{
echo "update add toto.sacem.fr. 3600 IN A 11.0.0.1"
echo "update add titi.sacem.fr. 3600 IN CNAME toto.sacem.fr."
echo
} | nsupdate -v -d

but what is the syntax for PTR records ?


Thanks for your help

--
Philippe LE YONCOURT

SACEM - service système informatique
225 av. Charles de Gaulle 92521 Neuilly-sur-Seine - FRANCE

mailto:philippe.le.yoncourt at sacem.fr












More information about the bind-users mailing list