Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Re: Re: net::dns::update and ??

by traveler (Parson)
on Nov 05, 2002 at 14:46 UTC ( #210465=note: print w/replies, xml ) Need Help??

in reply to Re: Re: net::dns::update and ??
in thread net::dns::update and ??

I now believe that the issue is what I mentioned, you are not updating; you are updating Try making that the arg to new. Also I presume the $ before the IP is a typo?

HTH, --traveler

  • Comment on Re: Re: Re: net::dns::update and ??

Replies are listed 'Best First'.
Re^4: net::dns::update and ??
by Anonymous Monk on Feb 02, 2012 at 21:18 UTC

    10 years later and I have this exact same problem. Can't figure out how to add a PTR record using Net::DNS. I wonder if OP ever figured this out...

    The syntax of my rr_add is: rr_add( 3600 PTR

    Is this correct? Thanks in advance...
    # Create the update packet: my $update = Net::DNS::Update->new($OURDOMAIN); # Add the PTR record: $update->push(update => rr_add("$rev 3600 PTR $hst")); # Send the update to the zone's primary master. my $res = Net::DNS::Resolver->new; $res->nameservers("$OURNMSERV"); my $reply = $res->send($update);
      Resolved. Do a 'dig -x' on a valid IP address on the network. The "AUTHORITY SECTION" shows the zone to use for the 'new Net::DNS::Update' parameter.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://210465]
[holli]: boring

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-09-26 22:28 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (298 votes). Check out past polls.