Re: [Dnsmasq-discuss] How to update ipv6 for own interface? (Updated info)

2019-12-12 Thread Simon Kelley
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 (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 
> ssh -6 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 "
> works, "ssh -6 router.int.johnsiu.com "
> doesn't.
> 
> Is there a way to make it happen?
> 
>

There is indeed.

interface-name=router,

Unless specifically configured otherwise, this works for IPv4 and IPv6
for your partial solution is no longer required.

Cheers,

Simon.




___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] How to update ipv6 for own interface? (Updated info)

2019-12-09 Thread John Siu
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(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
ssh -6 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" works, "ssh -6 router.int.johnsiu.com"
doesn't.

Is there a way to make it happen?
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss