OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: dinguz on October 05, 2019, 09:07:55 AM

Title: bind plugin, lots of IPV6 unresolvable messages
Post by: dinguz on October 05, 2019, 09:07:55 AM
I'm using the bind plugin for DNSBL purposes, and I'm seeing lots of log messages like these:

'lame-servers: info: host unreachable resolving '_.api.sc-gw.com/A/IN': 2600:9000:5305:a600::1#53'

This happens most probably because I don't have IPV6 connectivity. Would it be possible to disable IPV6 in named or system-wide to get rid of those?
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: banym on October 05, 2019, 09:15:59 AM
Better way would be to enable IPv6.
And no, it should not be possible since it's 2019 and IPv6 become more and more default.
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: dinguz on October 05, 2019, 09:33:53 AM
I'd love to be able to enable IPV6 but my ISP doesn't offer it, unfortunately
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: banym on October 05, 2019, 11:38:25 AM
As far as I can tell, the plugin has no option to disable IPv6.
Maybe it is enough if you remove the IPv6 address binding if possible.

You should write your provider to support IPv6.
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: dinguz on October 05, 2019, 07:47:39 PM
To run named in IPV4-only mode, I changed

named_flags=${named_flags:-""}
to
named_flags=${named_flags:-"-4"}

in /usr/local/etc/rc.d/named

This works, however it wil probably be overwritten during upgrades. It also gets flagged by the security audit.
Is there a proper way to make this permanent?
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: banym on October 05, 2019, 07:54:20 PM
Hi,
can you verify if it is a percident change that is still there after reboot?
Not sure if it will be overwritten by configd on next boot.
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: mimugmail on October 05, 2019, 07:58:53 PM
Can you open a feature request in GitHub and link this post, it's an easy task :)
Title: Re: bind plugin, lots of IPV6 unresolvable messages
Post by: dinguz on October 05, 2019, 08:40:50 PM
I'm not familiar with GitHub so I hope I didn't make any mistakes, but here it is:

https://github.com/opnsense/plugins/issues/1532

Thanks in advance for taking a look at it!