[Pdns-users] greater number of truncated replies with pdns_recursor?

Alan Hodgson ahodgson at simkin.ca
Fri Mar 24 20:01:57 UTC 2006


On March 24, 2006 11:39 am, bert hubert <bert.hubert at netherlabs.nl> wrote:
> In other words, the omit all records that are optional and make their
> answer fit in 512 bytes.
>

For reference, this is what dnscache gives:

; <<>> DiG 9.2.4 <<>> mx earthlink.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21965
;; flags: qr rd ra; QUERY: 1, ANSWER: 20, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;earthlink.net.                 IN      MX

;; ANSWER SECTION:
earthlink.net.          487     IN      MX      5 mxe.earthlink.net.
earthlink.net.          487     IN      MX      5 mxf.earthlink.net.
earthlink.net.          487     IN      MX      5 mxg.earthlink.net.
earthlink.net.          487     IN      MX      5 mxh.earthlink.net.
earthlink.net.          487     IN      MX      5 mxi.earthlink.net.
earthlink.net.          487     IN      MX      5 mxj.earthlink.net.
earthlink.net.          487     IN      MX      5 mxk.earthlink.net.
earthlink.net.          487     IN      MX      5 mx1.earthlink.net.
earthlink.net.          487     IN      MX      5 mx2.earthlink.net.
earthlink.net.          487     IN      MX      5 mx3.earthlink.net.
earthlink.net.          487     IN      MX      5 mx4.earthlink.net.
earthlink.net.          487     IN      MX      5 mx5.earthlink.net.
earthlink.net.          487     IN      MX      5 mx6.earthlink.net.
earthlink.net.          487     IN      MX      5 mx7.earthlink.net.
earthlink.net.          487     IN      MX      5 mx8.earthlink.net.
earthlink.net.          487     IN      MX      5 mx9.earthlink.net.
earthlink.net.          487     IN      MX      5 mxa.earthlink.net.
earthlink.net.          487     IN      MX      5 mxb.earthlink.net.
earthlink.net.          487     IN      MX      5 mxc.earthlink.net.
earthlink.net.          487     IN      MX      5 mxd.earthlink.net.

;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Mar 24 11:53:02 2006
;; MSG SIZE  rcvd: 431

I don't think dnscache ever gives ADDITIONAL or AUTHORITY records; stub 
resolvers really have no use for either.

-- 
"Bad laws are the worst sort of tyranny." -- Edmund Burke (1729-1797)


More information about the Pdns-users mailing list