[Pdns-users] Glue-Records in PowerDNS 3.x

Hawara hawara at gmail.com
Mon Dec 24 07:35:26 UTC 2012


Hi!

I changed records like this (removed the dot at the end):

# select * from records where name  LIKE '%vh.silverplate.ru';
     id      | domain_id |         name          | type |
content        | ttl | prio | change_date
-------------+-----------+-----------------------+------+-----------------------+-----+------+-------------
 11750142919 |   1377599 | ns1.vh.silverplate.ru | A    | 5.9.116.116
         | 900 |    0 |
 11750142465 |   1377599 | vh.silverplate.ru     | NS   |
ns1.vh.silverplate.ru | 900 |    0 |

and it works:
;; QUESTION SECTION:
;ns1.vh.silverplate.ru.         IN      A

;; AUTHORITY SECTION:
vh.silverplate.ru.      900     IN      NS      ns1.vh.silverplate.ru.

;; ADDITIONAL SECTION:
ns1.vh.silverplate.ru.  900     IN      A       5.9.116.116

I have a question - is this a bug or a feature? Is NS record without a
dot at the end valid?
What should we do with dots at the end of records? Should we remove
all dots at the end of NS records, or from some other record types as
well?
Won`t it point to ns1.vh.silverplate.ru.silverplate.ru without dot?


On Fri, Dec 21, 2012 at 6:39 PM, Peter van Dijk
<peter.van.dijk at netherlabs.nl> wrote:
> Hello,
>
> On Dec 20, 2012, at 8:48 , Hawara wrote:
>
>> But this set of records doesn`t:
>>
>> # select * from records where name  LIKE '%vh.silverplate.ru';
>>     id      | domain_id |         name          | type |
>> content         | ttl | prio | change_date
>> -------------+-----------+-----------------------+------+------------------------+-----+------+-------------
>> 11712848524 |    805373 | vh.silverplate.ru     | NS   |
>> ns1.vh.silverplate.ru. | 900 |    0 |
>> 11712848978 |    805373 | ns1.vh.silverplate.ru | A    | 5.9.116.116
>>          | 900 |    0 |
>> (2 rows)
>
>
> Can you try removing the trailing dot on 'ns1.vh.silverplate.ru' in the content
> column of that first row?
>
> Kind regards,
> --
> Peter van Dijk
> Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users



More information about the Pdns-users mailing list