[Pdns-users] NAPTR RRs
Anshuman S. Rawat
asr at cs.columbia.edu
Mon Sep 20 20:19:42 UTC 2004
Hi,
I have the entries in my tables which look like -
domains table;
+----+-----------------+--------+------------+--------+-----------------+---
------+
| id | name | master | last_check | type | notified_serial |
account |
+----+-----------------+--------+------------+--------+-----------------+---
------+
| 1 | us.sos-arpa.net | NULL | NULL | NATIVE | NULL |
NULL |
+----+-----------------+--------+------------+--------+-----------------+---
------+
records table;
+----+-----------+-----------------+-------+--------------------------------
-------------------+-------+------+-------------+
| id | domain_id | name | type | content
| ttl | prio | change_date |
+----+-----------+-----------------+-------+--------------------------------
-------------------+-------+------+-------------+
| 3 | 1 | us.sos-arpa.net | SOA | honamsun.cs.columbia.edu
asr at cs.columbia.edu 1 | 86400 | NULL | NULL |
| 4 | 1 | us.sos-arpa.net | NS | honamsun.cs.columbia.edu
| 86400 | NULL | NULL |
| 5 | 1 | us.sos-arpa.net | A | 128.59.19.78
| 1200 | NULL | NULL |
| 7 | 1 | us.sos-arpa.net | NAPTR | 100 50 "s" "http+I2L" ""
"_http.cs.columbia.edu." | 1200 | NULL | NULL |
+----+-----------+-----------------+-------+--------------------------------
-------------------+-------+-----
I tried to query for an NAPTR RR, but I did not get an answer -
[anshu]# host -v -t NAPTR us.sos-arpa.net honamsun
Trying "us.sos-arpa.net"
Using domain server:
Name: honamsun
Address: 128.59.19.78#53
Aliases:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49860
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;us.sos-arpa.net. IN NAPTR
Received 33 bytes from 128.59.19.78#53 in 1 ms
The documentation says that NAPTR RR types are supported. So anyone know
what I am missing here ?
Another question - how do you add a sub-domain for a domain which is present
in the records table ? to be clearer, in this particular case, how do I add
a sub-domain under us.sos-arpa.net ?
Any help will be appreciated.
Thanks in advance.
More information about the Pdns-users
mailing list