in reply to Re: net::dns::update and in-addr.arpa ??
in thread net::dns::update and in-addr.arpa ??
Hi, thanks so far - but i think I have to explain my problem in more detail:
I use the examples from net::dns::update. Adding or deleting A records works great!
But there are no examples how to write PTR records to in-addr.arpa zones.
i have tried syntax like those from "nsupdate" :
update: {add} 13.13.168.192.in-addr.arpa. 86400 IN PTR testhost.foo.com.
but with no success ! (NOTZONE RETURN CODE from DNS-Server)
here is my example without variables:
as far as i know there shold be a "dot" after the domain name (testhost.foo.com.)
Net::DNS::Update->new should refer to den DNS domain
there are no right problems...
by wolfgang
I use the examples from net::dns::update. Adding or deleting A records works great!
But there are no examples how to write PTR records to in-addr.arpa zones.
i have tried syntax like those from "nsupdate" :
update: {add} 13.13.168.192.in-addr.arpa. 86400 IN PTR testhost.foo.com.
but with no success ! (NOTZONE RETURN CODE from DNS-Server)
here is my example without variables:
answers to the questions:. my $update = Net::DNS::Update->new(foo.com); $update->push("pre", nxrrset("3.13.168.192.in-addr.arpa. PTR testhost. +foo.com.")); $update->push("update", rr_add("$3.13.168.192.in-addr.arpa. 86400 IN P +TR testhost.foo.com.")); my $res = Net::DNS::Resolver->new; $res->nameservers(nameserver.foo.com); my $reply = $res->send($update); .
as far as i know there shold be a "dot" after the domain name (testhost.foo.com.)
Net::DNS::Update->new should refer to den DNS domain
there are no right problems...
by wolfgang
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: net::dns::update and in-addr.arpa ??
by traveler (Parson) on Nov 05, 2002 at 14:46 UTC | |
by Anonymous Monk on Feb 02, 2012 at 21:18 UTC | |
by Anonymous Monk on Feb 08, 2012 at 02:07 UTC |
In Section
Seekers of Perl Wisdom