In LUCI, on my LAN interface -> Edit -> "DHCP Server" (at bottom) ->
"IPv6 Settings" tab -> "Announced DNS domains"

I've added two domains there

I also tried adding them both manually with option 119

Both of them appear to have been correctly added in /etc/config/dhcp:

config dhcp 'lan'
        option interface 'lan'
        option ra 'server'
        option dhcpv6 'server'
        option ra_management '1'
        option start '100'
        option limit '28'
        option leasetime '1h'
        list dhcp_option '119,subdomain1.example.org,subdomain2.example.org'
        list domain 'subdomain1.example.org'
        list domain 'subdomain2.example.org'


I also tried swapping them in the opposite order.


The DHCP v4 clients receive the search domains from the option 119, even
if the "Announced DNS domains" is empty.

The DCHP v6 clients are not receiving the search domains though.
Looking at /var/lib/dhcp/dhclient6.eth0.leases on a Debian client, it
shows only

  option dhcp6.domain-search "subdomain1.example.org.";



The value subdomain1.example.org is also used in the global

config dnsmasq
        option domain 'subdomain1.example.org'


Are there known bugs in the way search domains are being advertised from
OpenWRT?  Do I have to enable anything else on the router to make it work?

Regards,

Daniel
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to