User Tools

Site Tools


public:v6dns

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:v6dns [2026/01/14 18:58] – created danielpublic:v6dns [2026/01/14 19:16] (current) – Reformatted nmcli reversal directive daniel
Line 1: Line 1:
-===Overview===+====Overview====
  
 This document details the removal (or addition if applied in reverse) of local DNS caching services on IPv6. The procedure entails four changes: This document details the removal (or addition if applied in reverse) of local DNS caching services on IPv6. The procedure entails four changes:
Line 8: Line 8:
   - **Raspberry Pi OS:** remove static IP assignment   - **Raspberry Pi OS:** remove static IP assignment
  
-===Router===+====Router====
  
-IPv6 router advertisement (RA) is akin to IPv4's DHCP. It might be sub-optimal to run dual-stack clients without a resolver on an IPv6 address, but Unbound and Pihole can answer A and AAAA queries for either stack, and everything seems to work with just the one.+IPv6 router advertisement (RA) is akin to IPv4's DHCP. It might be sub-optimal to run dual-stack clients on your network without a resolver on an IPv6 address, but Unbound and Pihole can answer A and AAAA queries for either stack, and everything seems to work with just the one.
  
-EdgeOS keeps nameserver configuration value for each dual-stack VLAN. Only the VIF IDs differ between directives:+Review given VLAN's RA
  
-  delete interfaces switch switch0 vif 1 ipv6 router-advert name-server 2601:666:6666:5EB0::10 +  show interfaces switch switch0 vif 10 ipv6 router-advert
-  delete interfaces switch switch0 vif 10 ipv6 router-advert name-server 2601:666:6666:5EB0::10 +
-  delete interfaces switch switch0 vif 20 ipv6 router-advert name-server 2601:666:6666:5EB0::10 +
-  delete interfaces switch switch0 vif 30 ipv6 router-advert name-server 2601:666:6666:5EB0::10+
  
-To reverse deletion, use **set** in place of **delete**+Remove the //name-server// from each dual-stack VLAN's RA
  
-===Pihole===+  delete interfaces switch switch0 vif 1 ipv6 router-advert name-server 
 +  delete interfaces switch switch0 vif 10 ipv6 router-advert name-server 
 +  delete interfaces switch switch0 vif 20 ipv6 router-advert name-server 
 +  delete interfaces switch switch0 vif 30 ipv6 router-advert name-server 
 + 
 +Reverse a removal 
 + 
 +  set interfaces switch switch0 vif 10 ipv6 router-advert name-server 2601:666:6666:5EB0::10 
 + 
 +====Pihole====
  
 We specified listen-addresses in the **/etc/dnsmasq.d/01-pihole.conf** text file as a comma-separated list. From the following line, delete the IPv6 address and the comma preceding it We specified listen-addresses in the **/etc/dnsmasq.d/01-pihole.conf** text file as a comma-separated list. From the following line, delete the IPv6 address and the comma preceding it
Line 32: Line 38:
   ss -tl   ss -tl
  
-===Unbound===+====Unbound====
  
 Most configuration resides in the **/etc/unbound/unbound.conf** text file. Comment out the following line Most configuration resides in the **/etc/unbound/unbound.conf** text file. Comment out the following line
Line 38: Line 44:
   interface: 2601:666:6666:5EB0::10@53   interface: 2601:666:6666:5EB0::10@53
  
-Verify+Restart the service, and verify
  
 +  sudo systemctl restart unbound
   ss -tl   ss -tl
  
-===Raspberry Pi OS===+====Raspberry Pi OS====
  
 **nmcli** displays and manipulates network settings. Review interfaces and their settings **nmcli** displays and manipulates network settings. Review interfaces and their settings
Line 58: Line 65:
   sudo nmcli con down 'Wired connection 1' && sudo nmcli con up 'Wired connection 1'   sudo nmcli con down 'Wired connection 1' && sudo nmcli con up 'Wired connection 1'
  
-To reverse removal, use **+ipv6.addresses** in place of **-ipv6.addresses**+Reverse a removal 
 + 
 +  sudo nmcli con mod 'Wired connection 1' +ipv6.addresses 2601:666:6666:5EB0::10/128
public/v6dns.1768417097.txt.gz · Last modified: by daniel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki