OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Should unbound plugin break dhcp-provided dns nameserver on _all_ my subnets?
« previous next »
  • Print
Pages: [1]

Author Topic: Should unbound plugin break dhcp-provided dns nameserver on _all_ my subnets?  (Read 2011 times)

onnieoneone

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Should unbound plugin break dhcp-provided dns nameserver on _all_ my subnets?
« on: December 17, 2018, 10:24:01 pm »
Hi,

I have dhcp active on all my subnets. This works well and provides the dns nameserver option for my dhcp clients to point to a couple of non-opnsense nameservers I use internally.

I am now configuring unbound to listen on just a single vlan/subnet.

I spotted this at the bottom of the plugin config page:
Quote
If the DNS Resolver is enabled, the DHCP service (if enabled) will automatically serve the LAN IP address as a DNS server to DHCP clients so they will use the DNS Resolver.

This is a pity because it doesn't just provide the nameservers for the vlan I'm targeting (also through ipv6 RAs, not just dhcp as mentioned in the quote) but it overrides my custom dhcp dns nameserver settings for _all_ other scopes.

Is this really necessary? Is it possible to change this behaviour?

Thanks
Logged

CraigHead

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Should unbound plugin break dhcp-provided dns nameserver on _all_ my subnets?
« Reply #1 on: February 04, 2019, 07:16:20 am »
I just noticed this too.
Also, I noticed that this seems to prefer the IPv6 address on the LAN address serving DHCP on IPv4 as the entry for the nameserver. Which doesn't make any sense to me.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13671
  • Karma: 1175
    • View Profile
Re: Should unbound plugin break dhcp-provided dns nameserver on _all_ my subnets?
« Reply #2 on: February 04, 2019, 11:33:50 am »
Unbound gives out its IP so the users can automatically use the upstream servers without knowing them. But you have to change Unbound to forwarding and that's it.

> this seems to prefer the IPv6 address on the LAN address serving DHCP on IPv4 as the entry for the nameserver

I'm not sure what this means?


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Should unbound plugin break dhcp-provided dns nameserver on _all_ my subnets?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2