[Dnsmasq-discuss] Rewrite TTL on MX RR

Anthony Brodard anthony at brodard.me
Tue Jan 5 11:06:49 GMT 2016


Hi list !

I don't know if it's expected or if it's a bug, but I have a strange
behavior when I rewrite TTL values : some RR type keep upstream SSL (at
least mx, txt and soa).

For example :

$ dig mx gmail.com

;; ANSWER SECTION:
gmail.com. 1689 IN MX 10 alt1.gmail-smtp-in.l.google.com.
gmail.com. 1689 IN MX 30 alt3.gmail-smtp-in.l.google.com.
gmail.com. 1689 IN MX 20 alt2.gmail-smtp-in.l.google.com.
gmail.com. 1689 IN MX 40 alt4.gmail-smtp-in.l.google.com.
gmail.com. 1689 IN MX 5 gmail-smtp-in.l.google.com.

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jan 05 10:51:29 CET 2016
;; MSG SIZE  rcvd: 716


$ dig gmail-smtp-in.l.google.com.

;; ANSWER SECTION:
gmail-smtp-in.L.GOOGLE.com. 60 IN A 74.125.195.27

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jan 05 10:52:23 CET 2016
;; MSG SIZE  rcvd: 246

I'm running on an old version provided on ubuntu LTS : 2.68-1ubuntu0.1, but
I don't notice anything in the changelog.

My conf :

$ cat /etc/dnsmasq.conf

resolv-file=/etc/resolv.dnsmasq.conf
listen-address=127.0.0.1
bind-interfaces
cache-size=1024
neg-ttl=20
max-ttl=60
max-cache-ttl=60
strict-order

Do you already see this behavior ? Is it normal/expected ?

Thank you !
Anthony Brodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160105/e6598f3c/attachment.html>


More information about the Dnsmasq-discuss mailing list