[Pdns-users] PDNS Slave - While checking domain freshness

Ronny Wagner r.wagner at licoho.de
Wed Apr 13 14:15:38 UTC 2022


Hi Chris,

the test with telnet is only if the port is open.

I comment out the autosecondary option, i read it in the documentation as new option.

Here is my dig output:
nameuser at ns1 ~ # dig @178.63.70.104 licoho.de SOA

; <<>> DiG 9.16.27-Debian <<>> @178.63.70.104 licoho.de SOA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63654
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 3

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;licoho.de.                     IN      SOA

;; ANSWER SECTION:
licoho.de.              3599    IN      SOA     ns2.licoho.de. hostmaster.licoho.de. 2022043728 14400 3600 604800 600

;; ADDITIONAL SECTION:
ns2.licoho.de.          23257   IN      A       178.63.178.49
ns2.licoho.de.          23257   IN      AAAA    2a01:4f8:120:9041::b

;; Query time: 23 msec
;; SERVER: 178.63.70.104#53(178.63.70.104)
;; WHEN: Wed Apr 13 16:11:25 CEST 2022
;; MSG SIZE  rcvd: 133

-----Ursprüngliche Nachricht-----
Von: Chris Wopat <me at falz.net> 
Gesendet: Mittwoch, 13. April 2022 13:33
An: Ronny Wagner <r.wagner at licoho.de>
Cc: Pdns-users at mailman.powerdns.com
Betreff: Re: [Pdns-users] PDNS Slave - While checking domain freshness

You're using MySQL replication as well as autosecondary? Seems like it
should be one or the other. Generally zones would be NATIVE if using
sql replication.

Telnetting to tcp 53 isn't a test of much of anything, you probably
should use the `dig` command, perhaps:

dig @<primary ip> example.com SOA


On Wed, Apr 13, 2022 at 4:44 AM Ronny Wagner via Pdns-users
<pdns-users at mailman.powerdns.com> wrote:
>
> Debian: Buster
> Version: PowerDNS Authoritative Server 4.5.4 (C) 2001-2022 PowerDNS.COM BV
>
> Config:
> autosecondary=yes
> daemon=yes
> guardian=yes
> include-dir=/etc/powerdns/pdns.d
> launch=
> local-address=<IPv4>, <localhost>, <IPv6>
> log-dns-details=yes
> log-dns-queries=yes
> log-timestamp=yes
> query-local-address=<IPv4>, <localhost>, <IPv6>
> resolver=127.0.0.2
> secondary=yes
> secondary-do-renotify=yes
> security-poll-suffix=
> setgid=pdns
> setuid=pdns
> version-string=anonymous
> xfr-cycle-interval=120
>
> Message:
> pdns_server[1811397]: While checking domain freshness: While attempting to query freshness of 'example.com': Unable to ask query of '<IP from supermaster>:53': Invalid argument
> pdns_server[1811397]: Unable to retrieve SOA for example.com, this was the first time. NOTE: For every subsequent failed SOA check the domain will be suspended from freshness checks for 'num-errors x 60 seconds', with a maximum of 3600 seconds. Skipping SOA checks until 1649841117
>
> Hello,
>
> i use a master/slave system with gmysql. On my slave 1 i see the message with invalid argument and the problem with SOA.
> I see the SOA entry in sql. I can ping my supermaster or make a test telnet to port 53.
>
> Have anyone a idea? Is there any fail in my config?
>
> Thank you very much.
>
> Ronny
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1984 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220413/5dd8d193/attachment.bin>


More information about the Pdns-users mailing list