[Pdns-users] pdnsutil load-zone and ALIAS records

Thomas Plant thomas at plant.systems
Thu May 16 09:23:55 UTC 2019


Am 16.05.2019 um 11:19 schrieb Markus Ehrlicher:
> Hi :)
>
> When I import your example with "pdnsutil load-zone provider.com provider.zone", the dot isn't there, when I lookup the zone with "pdnsutil edit-zone provider.com":
>
> ; Warning - every name in this file is ABSOLUTE!
> $ORIGIN .
> provider.com    10800   IN      SOA     ns1.provider.com domain.provider.com 2018110204 10800 3600 777600 3600
> provider.com    10800   IN      NS      ns1.provider.com
> provider.com    10800   IN      NS      ns2.provider.com
> provider.com    10800   IN      NS      ns3.provider.com
> provider.com    10800   IN      MX      5 mx1.provider.com
> provider.com    10800   IN      MX      5 mx2.provider.com
> provider.com    10800   IN      ALIAS   cms.example.cloud
> autodiscover.provider.com       10800   IN      CNAME   email.provider.com
> www.provider.com        10800   IN      CNAME   cms.example.cloud
>
> best regards,
> Markus
>
> -----Ursprüngliche Nachricht-----
> Von: Pdns-users <pdns-users-bounces at mailman.powerdns.com> Im Auftrag von Thomas Plant via Pdns-users
> Gesendet: Donnerstag, 16. Mai 2019 11:10
> An: pdns-users at mailman.powerdns.com
> Betreff: Re: [Pdns-users] pdnsutil load-zone and ALIAS records
>
> Am 15.05.2019 um 16:01 schrieb Thomas Plant via Pdns-users:
>> Sorry, forgot...I'm using pnds version 4.1.8 and MariaDB 10.3.15 on
>> CentOS 7 fully patched.
>>
>> Am 15.05.2019 um 15:51 schrieb Thomas Plant via Pdns-users:
>>> Hello all,
>>>
>>> I've seen that when an ALIAS record is loaded from a file via 'pdnsutil
>>> load-zone' it leaves the dot at the end intact.
>>> Shouldn'it be removed?
>>>
>>> Here is an example of a DNS zone file I import:
>>>
>>> ; Zone file for "testzone.com" exported from Simple DNS Plus at
>>> 19.11.2018 10:53:44
>>> $TTL 10800
>>> @               IN SOA  ( ns1.provider.com. ; Primary DNS server
>>>                           domain.provider.com. ; Responsible person
>>>                           2018110204   ; Serial number
>>>                           10800        ; Refresh
>>>                           3600         ; Retry
>>>                           777600       ; Expire
>>>                           3600       ) ; Minimum TTL
>>>                 NS      ns3.provider.com.
>>>                 NS      ns1.provider.com.
>>>                 NS      ns2.provider.com.
>>>                 MX      5 mx2.provider.com.
>>>                 MX      5 mx1.provider.com.
>>>                 ALIAS    cms.example.cloud.
>>> autodiscover            CNAME   email.provider.com.
>>> www             CNAME   cms.example.cloud.
>>>
>>>
>>> Greetings,
>>> Thomas
>>> _______________________________________________
>>> Pdns-users mailing list
>>> Pdns-users at mailman.powerdns.com
>>> https://mailman.powerdns.com/mailman/listinfo/pdns-users
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com
>> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> Was this a kind of stupid question? If yes, sorry for that.
> Or should I file a bug report about this?
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
Hi,

yes in 'pdnsutil edit-zone' I did not see the dot. Just in the database
table. Should have written that.
When I tried to edit the zone with pdnsutil it gave me an error on
saving. When I deleted the dot from the record in the database it was ok.

Regards,
Thomas


More information about the Pdns-users mailing list