In message <pn1pr01mb02702854b84d90c8e573357381...@pn1pr01mb0270.indprd01.prod. OUTLOOK.COM>, Harshith Mulky writes: > I have bind Running on following Version: > > bind-9.8.2-0.17.rc1.el6.x86_64
Upgrade. > I have /etc/named.conf configured as > > zone "e164.arpa" IN { > type master; > allow-query {any;}; > file "e164.arpa.zone"; > }; > > zone "test1.com" IN { > type master; > allow-query {any;}; > file "test1.zone"; > }; > > test1.zone has following set of records, > > $TTL 1D > > @ IN SOA denver.test1.com. root.test1.com. ( > 2016060701 ; Serial number (yyyymmdd-num) > 8H ; Refresh > 2M ; Retry > 4W ; Expire > 1D ) ; Minimum > IN NS denver > > as.ipv4 A 0.0.0.0 > > as.ipv6 AAAA 0::0 > > denver A 10.54.108.7 > > test1 IN NAPTR 22 32 "u" "SIP+D2U" "" > _sip._udp.test1.com. > _sip._udp IN SRV 0 40 7700 > alice1.test1.com. > alice1.test1.com. IN A 10.54.80.136 > test1.com. IN A 10.54.80.136 > test1.com. IN AAAA fd00:10:6b50:4500::88 > > -------------------------------------------------------------------------- > --------------------------------- > > When i run the dig command on the bind server: > > [root@denver named]# dig test1.com. NAPTR > > ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6 <<>> test1.com NAPTR > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48213 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;test1.com. IN NAPTR > > ;; AUTHORITY SECTION: > test1.com. 86400 IN SOA denver.test1.com. > root.test1.com. 2016060701 28800 120 2419200 86400 > > ;; Query time: 0 msec > ;; SERVER: 127.0.0.1#53(127.0.0.1) > ;; WHEN: Wed Jun 8 15:24:09 2016 > ;; MSG SIZE rcvd: 85 > > -------------------------------------------------------------------------- > ------------------------------ Which is correct for that zone. Try "dig test1.test1.com. NAPTR" to get the NAPTR record. If you want test1.com. NAPTR then put the record immediately after the NS record without a owner name or use "@ NAPTR ...". Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users