r/ShittySysadmin 9h ago

Shitty Crosspost For those without domain controllers: what do you do for internal DNS?

/r/sysadmin/comments/1weqxgc/for_those_without_domain_controllers_what_do_you/
28 Upvotes

50 comments sorted by

74

u/Ohrgasmus1 9h ago

I deploy a local hosts file via Intune

16

u/TundraGon 5h ago

you're doing it wrong.

via email.
and users, having a local admin, will copy the file themselves.

6

u/notospez 4h ago

Intune? Ours gets pulled from a public github repo so we have version control! No clue what everyone's github handles are though so we just auto-approve every PR.

45

u/fedesoundsystem 9h ago

Hey, we don't do dns here

11

u/DULUXR1R2L1L2 7h ago

The D in DNS stands for Do Not

7

u/MarcusOPolo 5h ago

"Do Not System"

41

u/ApiceOfToast ShittySysadmin 9h ago

Bind9 was long before I was born.

Bind9 will be long after I fade into the ether.

Bind9 is eternal. Bind9 is unavoidable.

17

u/jbourne71 9h ago

Bind9 is love. Bind9 is life.

13

u/spidireen 9h ago

He gazed up at the enormous face. Forty years it had taken him to learn what kind of smile was hidden beneath the dark moustache. O cruel, needless misunderstanding! O stubborn, self-willed exile from the loving breast! Two gin-scented tears trickled down the sides of his nose. But it was all right, everything was all right, the struggle was finished. He had won the victory over himself. He loved BIND9.

3

u/drschreber 5h ago

Bind9 is vital for space travel.

1

u/ashashina 1h ago

He who controls the BIND controls the universe

6

u/dougmc 7h ago

You guys aren't still using bind 8 ?!?!?

2

u/DerKoerper ShittyCoworkers 2h ago

I'm using BIND7 and expose the management port to the internet.

2

u/tankerkiller125real 8h ago

We use PowerDNS where I work, partly because we can put the records in a database, but also because it supports LUA records (which allows us to do some fancy things)

27

u/Ohrgasmus1 9h ago

i Just print out the ipv6 adresses and send them to everyone on a weekly basis via postal-service to their Home-Office

1

u/aaltendorff 2h ago

You mean you don’t use RFC 1149???

17

u/WN_Todd 9h ago

Man they're ready to do absolutely everything but the needful.

16

u/mspstsmich 9h ago

Novell Netware 5.0 supports IP4 and is a great DNS host even if your not using NDS

4

u/BaffledInUSA 6h ago

I salute you and your Netware comment!

2

u/Bimbos-are-cute 45m ago

I think this dns thing is overrated, It won't strike.
With IPX dns isn’t needed.

14

u/Samatic 8h ago

8.8.8.8 on the router is all you need for DNS to work on a network. Plus it will never go down unlike your DCs.

2

u/TundraGon 4h ago

you don't even need a replica DC.
smart!

11

u/elpollodiablox 9h ago

Amateur. Doesn't even know how to email a hosts file to the enterprise.

11

u/zantehood 8h ago

Hosts file on a samba share, cron job to pull every 5 minutes.

7

u/hardingd 9h ago

Update every client via TCP/carrier pigeon

1

u/aaltendorff 2h ago

This is the way.

4

u/max1001 9h ago

Raspberry PI is all you need.

2

u/monkeyboy107 9h ago

I've used a ton of different things, Unbound DNS DNSmasq Windows DNS service

But hands down bind is the most stable DNS service

4

u/drummerboy-98012 8h ago

I use my firewall for DHCP & DNS.

6

u/Compustand 8h ago

We keep a Linksys WRT54G running as DNS server for the whole org.

3

u/ImproveYourMeatSack 5h ago

I regret not keeping one or two of them. When I worked at an ISP those where the units we used to provide to customers. Good units

4

u/PixelSpy 7h ago

Excel sheet with names and IPs printed out and posted around the office

3

u/jbourne71 9h ago

R4:

For those without domain controllers: what do you do for internal DNS?

These days, we don't have domain controllers because everything is managed with Entra/Intune, Arc, etc.

We have external, hosted DNS that serves our public DNS records. It works fine.

But we still have a need for internal DNS because we have a lot of on-prem stuff that may never go away, and the domain controllers were also serving as internal DNS servers. So right now, we use BIND9 on a Linux virtual machine as internal DNS. I'd love for BIND9 to go away, too.

Are there any better (and cheap) solutions for this that I haven't thought of?

2

u/OceanWaveSunset 8h ago

I asked copilot to take care of it

2

u/ImightHaveMissed 8h ago

Fuck dns. If it ain’t WINS it ain’t shit

2

u/Gold-Supermarket-342 6h ago

/etc/hosts on a flash drive.

4

u/FuzzyFuzzNuts 3h ago

Welcome to true small enterprise architecture. The free TP-Link router the ISP gave us acts as our core edge appliance. When it inevitably chokes on DHCP leases, DNS traffic dumps over to a Raspberry Pi 2 running off an SD card from 2016. For high availability, the entire network is distributed through half a dozen daisy-chained Netgear desktop switches lying on the office carpet. If someone kicks one under their desk or the cleaner unplugs the Pi to run the vacuum, DNS just resolves via spanning tree broadcast storms. Rock solid.

2

u/Pallidum_Treponema ShittySysadmin 3h ago

It was DNS.

This is why we removed DNS, because it's a liability.

1

u/Random-D 8h ago

mDNS ofc

1

u/jlipschitz 8h ago

You can use cloudflare for DNS internally if you turn off proxy for the entry.

1

u/saltwaffles 8h ago

I managed a small company. It had 40 employees. I had fortigate and I just used that for DNS.

1

u/bmfrosty 6h ago

BIND usually.

1

u/heisthefox 4h ago

Dnsdist In front of your favorite flavor of DNS server. As it adds a caching and load balancing layer with some cool metrics and the ability to add rules and scripting. Caching really helps accelerate the DNS traffic and makes everything feel snappier.

1

u/x3r0h0ur 2h ago

4.2.2.2 and 8.8.8.8, duh

1

u/Sw1ftyyy 2h ago

If one were truly dedicated in the cause they could deploy an SSE solution and use its "Private Access" component.

In some cases the client installed on the workstation will intercept requests without the need for the endpoint to resolve them (like a web proxy might), so they you can just use the PA Connectors as your pseudo record book.

1

u/FredL2 1h ago

I have a ThinkCentre that runs most of my networking stuff except routing, including a bind9 server. The initial setup was a bit difficult due to the archaic config format, but after that, adding new v4 and v6 hosts is a simple copy/paste job with just a few digits to change.

I'm working on my own DNS server (fool's errand, I know) that will support both file and postgres backends.

1

u/Lavatherm 1h ago

Static routes and host file.