Curious if anyone knows a simple way to prevent resolution of one word
hostnames. Either via resolv.conf or unbound.conf.

For example:

athens:~> host android
android has address 127.0.53.53
android mail is handled by 10 your-dns-needs-immediate-attention.android.

I do not like this.

athens:~> host bobo
Host bobo not found: 3(NXDOMAIN)

This is much better.

athens:~> host com

This isn't great either.

I realize this is how DNS works, but I also think it's something I
should be able to "fix" at a local level. The fact that anything and
everything can now be a TLD is pretty sneaky. If a DNS lookup has only
a single part, I would like to restrict it to the search domain.

Reply via email to