[Dnsmasq-discuss] How to update ipv6 for own interface? (Updated info)
john.sd.siu at gmail.com
Thu Dec 12 19:28:43 GMT 2019
Thank you! "interface-name" work immediately!!
I lost count of how many times I went through the man page top to
bottom the past few days and I completely miss that option. I few like
On Thu, Dec 12, 2019 at 1:05 PM Simon Kelley <simon at thekelleys.org.uk> wrote:
> On 10/12/2019 03:31, John Siu wrote:
> > Ok, let me elaborate more.
> > I have following setup:
> > Linux router server:
> > - OS: Ubuntu 18.04
> > - wide-dhcp-client on external(internet facing) nic
> > - dnsmasq on lan interface(hostname: router) as dns, ipv4 + ipv6 dhcp
> > - lan interface IPv6 configure by wide-dhcp-client, IPv4
> > static(172.16.168.1) via netplan
> > - internal domain: int.johnsiu.com <http://int.johnsiu.com>(configure in
> > dnsmasq)
> > Servers on LAN
> > - couple mac, linux machines on lan network
> > - all have static dhcp ipv4 from dnsmasq.
> > - all have ipv4 entry in router /etc/hosts
> > dnsmasq is able to do dns resolve for all linux machines for both ipv4
> > and ipv6. eg:
> > ssh -4 test.int.johnsiu.com <http://test.int.johnsiu.com>
> > ssh -6 test.int.johnsiu.com <http://test.int.johnsiu.com>
> > However, this does not work for the router lan interface. I already did
> > following:
> > In /etc/hosts:
> > 172.16.168.1 router
> > In /etc/dnsmasq.d/lan.conf, I have following lines for router:
> > dhcp-host=e2:1d:6b:2d:33:e7,172.16.168.1,router,infinite
> > While "ssh -4 router.int.johnsiu.com <http://router.int.johnsiu.com>"
> > works, "ssh -6 router.int.johnsiu.com <http://router.int.johnsiu.com>"
> > doesn't.
> > Is there a way to make it happen?
> There is indeed.
> interface-name=router,<name of lan interface>
> Unless specifically configured otherwise, this works for IPv4 and IPv6
> for your partial solution is no longer required.
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss