[Pdns-users] Remote source address in xfer
Mark Constable
markc at renta.net
Tue Dec 18 13:32:28 UTC 2007
I forgot to mention the version of pdns was 2.9.20 but I
just compiled a 2.9.21 version that includes the sqlite3
backend. And these are the domain.net records...
INSERT INTO "domains" VALUES(7, 'domain.net.', NULL, NULL, 'NATIVE', NULL, NULL);
INSERT INTO "records" VALUES(63, 6, '4.238.xx.xx.in-addr.arpa', 'PTR', 'ns3.domain.net', 3600, 0, NULL);
INSERT INTO "records" VALUES(69, 7, 'domain.net.', 'SOA', 'ns1.domain.net admin.domain.net 2006033103 1200 120 1209600 3600', 3600, 0, NULL);
INSERT INTO "records" VALUES(70, 7, 'domain.net.', 'NS', 'ns1.domain.net', 3600, 0, NULL);
INSERT INTO "records" VALUES(71, 7, 'domain.net.', 'NS', 'ns2.domain.net', 3600, 0, NULL);
INSERT INTO "records" VALUES(72, 7, 'domain.net.', 'NS', 'ns3.domain.net', 3600, 0, NULL);
INSERT INTO "records" VALUES(73, 7, 'domain.net.', 'A', 'xx.xx.248.5', 3600, 0, NULL);
INSERT INTO "records" VALUES(74, 7, 'domain.net.', 'MX', 'mail.domain.net', 3600, 0, NULL);
INSERT INTO "records" VALUES(75, 7, 'domain.net.', 'TXT', '"v=spf1 mx ~all"', 3600, 0, NULL);
INSERT INTO "records" VALUES(76, 7, '*.domain.net', 'A', 'xx.xx.249.3', 3600, 0, NULL);
INSERT INTO "records" VALUES(77, 7, '*.domain.net', 'MX', 'mail.domain.net', 3600, 0, NULL);
INSERT INTO "records" VALUES(78, 7, 'mail.domain.net', 'A', 'xx.xx.248.7', 3600, 0, NULL);
INSERT INTO "records" VALUES(79, 7, 'mail.domain.net', 'TXT', '"v=spf1 a -all"', 3600, 0, NULL);
INSERT INTO "records" VALUES(80, 7, 'mail2.domain.net', 'A', 'xx.xx.249.3', 3600, 0, NULL);
INSERT INTO "records" VALUES(81, 7, 'mail2.domain.net', 'TXT', '"v=spf1 a -all"', 3600, 0, NULL);
INSERT INTO "records" VALUES(82, 7, 'news.domain.net', 'CNAME', 'news.connect.com', 3600, 0, NULL);
INSERT INTO "records" VALUES(83, 7, 'ns1.domain.net', 'A', 'xx.xx.248.2', 3600, 0, NULL);
INSERT INTO "records" VALUES(84, 7, 'ns2.domain.net', 'A', 'xx.xx.249.2', 3600, 0, NULL);
INSERT INTO "records" VALUES(85, 7, 'ns3.domain.net', 'A', 'xx.xx.238.4', 3600, 0, NULL);
INSERT INTO "records" VALUES(86, 7, 'web.domain.net', 'A', 'xx.xx.249.3', 3600, 0, NULL);
INSERT INTO "records" VALUES(87, 7, 'www.domain.net', 'A', 'xx.xx.248.9', 3600, 0, NULL);
INSERT INTO "records" VALUES(88, 7, 'www2.domain.net', 'A', 'xx.xx.248.9', 3600, 0, NULL);
INSERT INTO "records" VALUES(89, 7, 'ns4.domain.net', 'A', 'xx.xx.153.103', 3600, 0, NULL);
On Tuesday 18 December 2007 20:06:00 Mark Constable wrote:
> My pdns is a slave for a remote bind9 master on a Debian
> lenny server and it's source address is different to what
> the ns1.domain.net nameserver IP. I added "query-source
> xx.xx.238.2;" to the remote nameserver setting (not sure
> if that would help anyway) but the local pdns slave still
> provides this error.
>
> Dec 18 04:51:14 us pdns[32360]: Received NOTIFY
> for domain.net from xx.xx.238.7 which is not a master
>
> ns1.domain.net = xx.xx.238.2
> domain.net real IP = xx.xx.238.7
> pdns slave IP = xx.xx.153.103
>
> Any suggestions how to work around this ?
>
> allow-axfr-ips=xx.xx.238.7 xx.xx.132.7 xx.xx.248.2
> allow-recursion=127.0.0.1
> config-dir=/etc/powerdns
> daemon=yes
> disable-axfr=no
> gsqlite-database=/home/a/dns.sqlite
> guardian=yes
> include=/etc/powerdns/pdns.d
> launch=gsqlite
> lazy-recursion=yes
> local-address=xx.xx.153.103
> local-port=53
> log-dns-details=yes
> log-failed-updates=yes
> logfile=/var/log/pdns.log
> loglevel=99
> module-dir=/usr/lib/powerdns
> query-logging=yes
> setgid=pdns
> setuid=pdns
> slave-cycle-interval=60
> slave=yes
> socket-dir=/var/run
> use-logfile=yes
> version-string=powerdns
> webserver-address=xx.xx.153.103
> webserver-password=xxxxx
> webserver-port=9999
> webserver=yes
> wildcards=yes
And these values were changed from the above...
launch=gsqlite3
gsqlite3-database=/home/a/dns.sqlite3
--markc
More information about the Pdns-users
mailing list