[Pdns-users] pdns slave
Emiel van Berlo
evberlo at gmail.com
Tue May 22 13:19:13 UTC 2012
The manual warns about possible strange behaviour with this trailing
When I do a dig to my dns servers everything seems o.k.
But will it be o.k. in six months?
When I setup a master or native domain we don't put in the trailing
dot and we follow the manual.
(SOA : ns1.danego.net noc at danego.net 2012010101 etc)
All this is working and doing as I think it should.
Then I add a slave domain (or a superslave, doesn't matter behaviour
is the same)
PowerDNS gets an incoming zone transfer.
all records that have the trailing dot appear in the database without
this trailing dot.
except for the SOA record.
I know that on DNS level there should be a trailing dot.
And yes I know powerdns adds this trailing dot when I do a dig.
but WHY do I have slaved NS and MX records in the powerdns database
without this trailing dot and why does the SOA have this trailing dot?
my concern is the warning in the manual, expect STRANGE behaviour if
you add trailing dots in the powerdns database.
On Tue, May 22, 2012 at 3:02 PM, ktm at rice.edu <ktm at rice.edu> wrote:
> On Tue, May 22, 2012 at 10:59:22AM +0200, Emiel van Berlo wrote:
>> o.k. then why doesn't the slaved NS and MX records have this trailing
>> dot in the powerdns database?
> The server adds them. You do not need to add a dot "." to every record
> in a database, if the software can do it. It matches a user's experience
> with browsers, e.g. http://www.google.com is what they enter and see
> although the full correct DNS name ends with a dot ".".
>> On Tue, May 22, 2012 at 10:46 AM, Marc Haber <mh+pdns-users at zugschlus.de> wrote:
>> > On Tue, May 22, 2012 at 10:17:24AM +0200, Emiel van Berlo wrote:
>> >> The PowerDNS manual has a BIG warning that it's forbidden to have a
>> >> trailing dot on domainnames.
>> > I guess that means the internal database format. To my understanding,
>> > the period must be present in the DNS packet.
>> >> To my opinion, something goes wrong with the slave setup and the zone
>> >> transfer, or the manual is outdated.
>> > I think you have misunderstood. When you directly write into the
>> > databases, using a trailing period is contraproductive.
>> > Greetings
>> > Marc
More information about the Pdns-users