Emerging Member
Posts: 90
Registered: ‎03-12-2018
Kudos: 22

Change ISP ipv6 dns with cloudflare

[ Edited ]

Hello,

 

I'm fighting to get my DNS resolving to go completely over a 3rd party dns service (cloudflare).

 

I get my IP via dhcpv6, and my isp also gives the dns servers.

 

 

$ show dns forwarding nameservers 
-----------------------------------------------
   Nameservers configured for DNS forwarding
-----------------------------------------------
1.1.1.1 available via 'system'
1.0.0.1 available via 'system'
2a02:1800:100::42:1 available via 'system'
2a02:1800:100::42:2 available via 'system'

The top two get overridden with my custom configuration, but how can I add my own IPv6 entries? 

 

I've distilled that it's via this config:

 

{
"interfaces": {
"ethernet": {
"eth0": {
"dhcpv6-pd": {
"no-dns": "''"
}
}
}
},
"system": {
"name-server": [
"2606:4700:4700::1111",
"2606:4700:4700::1001",
"1.1.1.1",
"1.0.0.1"
],
}
}

will plunking this in config.gateway.json work, or do I actually need to copy *everything* in there?

 

 EDIT: in short, yep. Just that and it's all good.