Answer the question
In order to leave comments, you need to log in
How to disable A record in windows DNS server?
I needed one host on my network (Winsows Server 2012R2) with IIS to add another IP in order to hang the SSL I needed on it. In the properties of the adapter, I added this IP: so the host named Host1.domain.local got 2 IPs: 192.168.1.10 and 192.168.1.20. But after some time, services on IP 192.168.1.10 began to fall off. Because when querying by hostname Host1.domain.local they got IP 192.168.1.20.
I have a DNS server in my domain on Winsows Server 2012R2. There I saw that another DNS entry appeared: Host1.domain.local 192.168.1.20, which is logical, but I don’t need it. I deleted the entry and everything became normal, but as I understand it, after a while it will appear again. How can I disable dns resolution to a specific IP, or disable the automatic creation of a specific record?
Answer the question
In order to leave comments, you need to log in
I solved the issue by adding an additional IP with the SkipAsSource flag. Here is an example PowerShell command:
New-NetIPAddress –IPAddress 192.168.1.20 –PrefixLength 24 –InterfaceAlias “Ethernet0” –SkipAsSource $True
Disable DNS registration in the properties of the network adapter and manually create the necessary static entries.
If I understand correctly, then:
Remove from the list of interfaces that the DNS server is listening on the interface:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question