by rsync · 6y ago · 0 comments
Who would be running a DNS server on a Windows system ?
Why would they be doing such a thing ? What is the thinking here ? I understand running windows-specific infrastructure like an AD server or a PDC or whatever but ... a DNS server ?
DNS is an absolutely critical component of Active Directory (there's even an old joke that, when dealing with Active Directory issues, "it's always DNS").
In an AD environment, clients are almost always configured to use Windows DNS servers as their DNS servers, with the Windows DNS servers then performing forwarding (of any unanswerable queries) on their behalf. This way is, by far, a helluva lot easier.
You could have non-Microsoft DNS servers that slave the zones from the Windows DNS servers and point the clients at those.
You can even go a step further and avoid using Microsoft DNS entirely. Despite what some people (even some here, apparently), you absolutely CAN run Active Directory without using Microsoft DNS at all (although there are several advantages to using Microsoft DNS)! BIND, for instance, can be used instead of Microsoft DNS. It completely supports all the features that are needed for Active Directory -- in fact, it provides a number of additional features that are often "nice to have" as well.
Because it is a PITA to set up and support, though, these type of deployments are fairly uncommon. In most cases, it's much "easier" to just use Microsoft DNS (which can be installed and set up for you automatically when first deploying Active Directory) -- especially when the folks managing Active Directory don't really have a great understanding of DNS itself. For example, I imagine the average Windows administrator would be completely dumbfounded if you asked them to hand-edit a BIND zone file! Instead, with Microsoft DNS, they can just point and click their way around.
This, of course, leaves out all discussion of DHCP which (in a corporate Windows environment) is pretty much always required as well. Running all of this on Windows means you don't have to deal with integrating all of the various pieces yourself.
At least some of these are available in other DNS servers as well but I'd certainly agree that AD-integrated DNS is much easier to deploy, manage and maintain.
This cannot be overstated. I'm currently in the process of trying to rehabilitate an existing DNS infrastructure based on BIND, and it is a complete disaster. All the "high availability" stuff is focused around replicating zone databases from a single master to many slaves, which will indeed continue answering queries even if the master is down. It appears there is basically zero concern for ensuring that updates will continue to be accepted and distributed to slaves if the master fails. The documentation doesn't address it, and none of the many conversations I found through Google had good answers. I have no idea how large DNS installations are built on this software.
This is not a knock on BIND - it is good software, but in the average Wintel environment you're probably just adding unnecessary complexity for marginal gains.
While properly functioning Active Directory and Exchange deployments both require SRV RRs, they certainly aren't Exchange- or Windows-specific.
Even if you use MS DNS, it’s smart to run DNS on dedicated devices.
So every company that has AD probably has a Windows DNS server - which is kind of like every bigger company.
Hope someone can confirm or dispute my info with 2020 hands-on experience.
And besides, most of the small companies I've seen vastly prefer a Windows GUI than (e.g.) configuring bind on the command line.
Even when first setting up a new forest and new domain for the first time, installing a Microsoft DNS server is not required.
But for public networks, I completely agree that it's insanity to run DNS on Windows.
It works quite well! I just recently worked on a large government department that had approximately 100 public, Internet-facing DNS zones hosted on a pair of Windows servers.
I seriously don't get this automatic dismissal of Windows Server as "not a real server operating system". An enormous fraction of large enterprises run on it, very often for Internet-facing infrastructure. Microsoft.com. Azure.net. Stackoverflow.com. You know... those teeny-tiny toy sites nobody ever visits.
Just because you're not familiar with it, and just because you can't imagine how it could be managed properly doesn't mean other people don't know how to do it.
PS: The list of BIND's CVE entries is here, in case you think that being UNIX-based makes it magically immune to security vulnerabilities: https://www.cvedetails.com/vulnerability-list.php?vendor_id=...
Just like how you can run an Internet-facing website on IIS, you can run a DNS server on Windows.
Anyway, $5000 is pocket change for most orgs, and it's a lot less than what it would cost to run an additional operating system on top of Windows. The time it would take just to choose a distro before even starting to set up several Linux or BSD servers would cost more than $5K in most places I've been. Then you have to worry about keeping them patched, backed up, in-sync with each other, etc...
If you don't already run a largely Linux/UNIX shop, spinning up BIND is much, much more expensive than a couple of additional Windows VMs on top of the pile of hundreds they likely already have.
First of all, I have decades of experience with Windows, Linux, and BSD. I know they all suck, just in different ways.
Don't automatically assume that the only operating system with which you are familiar is magically better. You've just become accustomed to its flaws and warts. It is the devil you know, and other, unfamiliar systems are scary and strange. To you. Not to other people.
By the way, the hobbyist tinkering is the main cause of the things I've found to suck in Linux. It's just unprofessional, through and through. It hasn't got the "boring bits" filled out, the bits nobody could be bothered to tinker with because they weren't being paid to. It still(!) struggles with spaces in file name paths. In 2020 it still struggles to consistently handle esoteric new concepts like the backspace key.
A case in point is the wailing and gnashing of teeth in the Linux community about systemd. From an external objective perspective, this is absurdly childish. Linux is missing 80% of the basic functionality that MacOS and Windows have had since forever. Since the NT4 days in the 1990 forever. In reaction to the systemd team dragging Linux into this century, people lost their minds. They got so mad they were practically frothing at the mouth.
I've seen similarly amateurish, unprofessional, dismissive attitudes everywhere I've turned whenever I hit a problem with Linux. Most recently I dug into the history of why its DNS client is so incredibly bad, and it was just a shitshow of stupid, stupid arguments on various forums that have gone on for decades. Idiots arguing very loudly overruling the people giving good, but humble advice.
And while complex and byzantine, Windows Server was rock solid if you treat it right.
But you can't know whether it works unless hobbyists tinker with it?? (Even though hobbyists do tinker with Windows)
Plus, quick and easy dynamic DNS entries from windows servers or workstations using AD computer account auth
This is, of course, configurable and can be turned on or off.
> ... it would be a pain to autocreate their PTR records in bind.
Yes, it would. Fortunately, ISC DHCP and BIND, for example, can also handle this automatically.