danielr1996
Goto Top

Windows 10 falscher DNS Server

Hallo Leute,

ich habe auf meinem Raspberry PI den ISC-DHCP-Server aufgesetzt um den Clients in meinem Netzwerk die IP Adressen und DNS Server zuzuweisen. Die Zuweisung der IPs klappt soweit auch, aber Windows weist sich anscheinend selbst immer einen IPv6 DNS Server zu, bzw bekommt diesen von einem anderen DHCP Server zugewiesen.
In meiner dhcpd.conf habe ich
option domain-name-servers 10.0.0.3;
eingetragen, in Windows ist allerdings die IPv6 Adresse meiner Fritzbox eingetragen und an zweiter Stelle erst die 10.0.0.3. Auch wenn ich in der dhcpd.conf die obige Zeile auskommentiere habe ich in Windows die Adresse der Fritzbox stehen. Woran kann das liegen, bzw kann man irgendwo nachschauen woher Windows die Einstellungen bezieht?
IPv6 allgemein oder DHCPv6 (Client) würde ich ungern deaktivieren, da das ja das eigene Problem nicht löst.

LG Dani

Content-Key: 311570

Url: https://administrator.de/contentid/311570

Printed on: April 23, 2024 at 10:04 o'clock

Mitglied: 129813
Solution 129813 Aug 03, 2016 updated at 18:46:25 (UTC)
Goto Top
Hi.
Windows prefers IPv6 by default, that's the reason why it comes on first place. Disable IPv6 on your Router-WebInterface (Fritzbox). Then this entry will be gone.

screenshot

Regards
Member: danielr1996
danielr1996 Aug 03, 2016 at 19:01:06 (UTC)
Goto Top
Ok I think your screenshot shows the IPv6 settings, this is for the connection to my ISP (correct me if im wrong) what I need is the DHCPv6 Settings which I found under Heimnetzwerk > Netzwerkübersicht > Netzwerkeinstellungen > IPv6 Adressen, there I disabled the whole DHCPv6 Server, anyway after ipconfig /release and ipconfig /renew I still had this entry. So I tried to set the IPv6 DNS Server to ::1 manually and after unsettings the ::1 entry it still showed up in ipconfig /all.

So the real problem now is how do I remove an DNS entry from Windows. Google is not really helpful because it shows me only results for
  • Clearing the DNS Cache
  • Removing the DNS Server Software
  • Removing DNS Records from a DNS Server

Any help or keyword to google for would be appreciated.
Mitglied: 129813
Solution 129813 Aug 03, 2016 updated at 19:10:37 (UTC)
Goto Top
No, this setting is responsible for the whole IPv6 functionality of this router!

You can delete those entries either with netsh
netsh interface ipv6 delete dnsservers "LAN-Connection" XXXXXXXXXXXXXX
Or via regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters\Interfaces
The entries are named NameServer. After you have removed the entry restart your network adapter or a restart, the dns entry should be gone.

Regards
Member: danielr1996
danielr1996 Aug 03, 2016 at 20:08:54 (UTC)
Goto Top
Ok it works with the netsh command. On the fritzbox it suffices to disable the DHCPv6 Server and the IPv6 Router DNS Advertisement.

Note to find available interfaces for netsh use:
netsh interface show interface