]> granicus.if.org Git - pdns/commit
with this commit, we remove the implicit DNSName string constructors, which hid many...
authorbert hubert <bert.hubert@powerdns.com>
Sun, 27 Sep 2015 11:54:47 +0000 (13:54 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Sun, 27 Sep 2015 11:54:47 +0000 (13:54 +0200)
commit8171ab83930489ec60298bd82cefe864895fc546
tree93a0d4ca4edaeb55903ddb048b73bc0cdab6162e
parenta9456e80159c18373a693e8a1facfc03d713fb5f
with this commit, we remove the implicit DNSName string constructors, which hid many many issues, including passing all DNS query packets as DNS domain names and converting them back again (WOW). To slightly compensate, we added an ostream operator<< to make printing of DNSNames easier.
This commit will start a world of pain and it isn't even done yet. Specifically forwarding to another nameserver is broken now (was broken already, we tried to push a :port number into a DNSName and parse it again). The webserver API was lovingly DNSNamed but will also likely have changes in case sensitivity, . termination and other things.
25 files changed:
pdns/dns.cc
pdns/dns.hh
pdns/dnsname.cc
pdns/dnsname.hh
pdns/dnsparser.cc
pdns/dnsparser.hh
pdns/dnsrecords.cc
pdns/dnswriter.cc
pdns/lua-recursor.cc
pdns/misc.cc
pdns/misc.hh
pdns/pdns_recursor.cc
pdns/rec_channel_rec.cc
pdns/recpacketcache.cc
pdns/reczones.cc
pdns/secpoll-recursor.cc
pdns/speedtest.cc
pdns/syncres.cc
pdns/syncres.hh
pdns/test-packetcache_cc.cc
pdns/ws-api.cc
pdns/ws-api.hh
pdns/ws-recursor.cc
pdns/zoneparser-tng.cc
pdns/zoneparser-tng.hh