Discussion:
[Dnsmasq-discuss] RFC6303 support - especially IPv6
Kevin Darbyshire-Bryant
2015-10-19 13:01:09 UTC
Permalink
Hi Simon,

I wonder if I could encourage you to look at extending the 'bogus-priv'
option to include some IPv6 zones? In essence dnsmasq is currently
forwarding ipv6 link-local reverse queries when in reality root servers
aren't going to know anything. Looking in the archives I see ipv6
reverses & 'bogus-priv' has been brought up before, and typically
stalled on deciding what to block. I think RFC6303 answers those
questions to a large extent.

Attached is a patch to include extra IPv4 zones that are listed in that
document. Maybe it'll help reduce some typing, though I'm concerned it
may also affect 'rebind zones' which I'm much less confident about :-)
I couldn't find any IPv6 filtering otherwise I would have extended that too.

IPv6 Zones I'm currently filtering as per that document are:


'/d.f.ip6.arpa/'
'/8.e.f.ip6.arpa/'
'/9.e.f.ip6.arpa/'
'/a.e.f.ip6.arpa/'
'/b.e.f.ip6.arpa/'
'/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/'
'/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/'


I've another more controversial idea that I'll put as another email as I
think it'll generate much more traffic!

Cheers,

Kevin
Simon Kelley
2015-10-20 20:26:21 UTC
Permalink
Post by Kevin Darbyshire-Bryant
Hi Simon,
I wonder if I could encourage you to look at extending the 'bogus-priv'
option to include some IPv6 zones? In essence dnsmasq is currently
forwarding ipv6 link-local reverse queries when in reality root servers
aren't going to know anything. Looking in the archives I see ipv6
reverses & 'bogus-priv' has been brought up before, and typically
stalled on deciding what to block. I think RFC6303 answers those
questions to a large extent.
Attached is a patch to include extra IPv4 zones that are listed in that
document. Maybe it'll help reduce some typing, though I'm concerned it
may also affect 'rebind zones' which I'm much less confident about :-)
I couldn't find any IPv6 filtering otherwise I would have extended that too.
Patch applied. I'll do the equivalent for IPv6 soon.

Cheers,

Simon.
Post by Kevin Darbyshire-Bryant
'/d.f.ip6.arpa/'
'/8.e.f.ip6.arpa/'
'/9.e.f.ip6.arpa/'
'/a.e.f.ip6.arpa/'
'/b.e.f.ip6.arpa/'
'/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/'
'/1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/'
I've another more controversial idea that I'll put as another email as I
think it'll generate much more traffic!
Cheers,
Kevin
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Carlos Carvalho
2015-10-20 21:41:40 UTC
Permalink
Post by Simon Kelley
Post by Kevin Darbyshire-Bryant
Hi Simon,
I wonder if I could encourage you to look at extending the 'bogus-priv'
option to include some IPv6 zones? In essence dnsmasq is currently
forwarding ipv6 link-local reverse queries when in reality root servers
aren't going to know anything. Looking in the archives I see ipv6
reverses & 'bogus-priv' has been brought up before, and typically
stalled on deciding what to block. I think RFC6303 answers those
questions to a large extent.
Attached is a patch to include extra IPv4 zones that are listed in that
document. Maybe it'll help reduce some typing, though I'm concerned it
may also affect 'rebind zones' which I'm much less confident about :-)
I couldn't find any IPv6 filtering otherwise I would have extended that too.
Patch applied. I'll do the equivalent for IPv6 soon.
Good! How about adding the equivalent for names, according to RFC6761?
Simon Kelley
2015-10-21 21:59:26 UTC
Permalink
Post by Carlos Carvalho
Good! How about adding the equivalent for names, according to
RFC6761?
I'll add it as a sub-task of the "make wildcard lookups fast" rewrite.


Cheers,

Simon.
Post by Carlos Carvalho
_______________________________________________ Dnsmasq-discuss
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Loading...