Robert Singer wrote:
> Hello,
> 
> I have a question regarding the PTR input schemata for Vegadns.
> I want to add a PTR Record for a host in the domain test.org
> 
> When I do this in djbdns it works fine for me
> 
> ^2.10.168.192.in-addr.arpa:a.ns.test.org:300
> 
> The dig results display
> 
> ; <<>> DiG 9.2.3 <<>> @192.168.10.2 -x 192.168.10.2
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19890
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;2.10.168.192.in-addr.arpa.     IN      PTR
> 
> ;; ANSWER SECTION:
> 2.10.168.192.in-addr.arpa. 300  IN      PTR     a.ns.test.org.
> 
> When I am trying to do the same with the vegadns gui I get an error
> 
> I tried to select the domain test .org and then add the hostname
> a.ns in the field
> put 2.10.168.192.in-addr.arpa. into the field Address
> and select
> Type -> PTR
> 
> I get the message PTR "a.ns.test.org does not end .in-addr.arpa.
> 
> After that I tried to follow the instruction in the [user] archives for 
> The topic PTR Records. Unfortunately I got the same result.
> 
> Thanks in advance
> Robert

this looks like a bug in records.php.  The domain name is getting
appended to a in-addr.arpa extension.  Try this patch:

http://shupp.org/patches/ptr.patch

Note that the Hostname should be the form of <ipaddress>-in-addr.arpa.,
and the address should be the whatever you want it to point to, like
ns1.nameserver.com, or whatever.

Please report your findings.

Regards,

Bill

Reply via email to