Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - BrutusBoots

#1
22.7 Legacy Series / Custom DNS entry issue
October 20, 2022, 02:06:40 PM
So I connect to a remote office using wireguard in opnSense and it works great.  In this office there is a main system with the ip 192.168.2.100.  This system was setup with a hostname of 'mainserver' with several services running on it with names like 'wiki.mainserver', 'test.mainserver', etc, etc.  This remote network provides no DNS.  The users simply enter these names into their hosts files and everything work.  Not the best setup but I have no control over it.

How can I setup unbound with the following entries so when I connect via wireguard I can simply use these names and have everything work?

mainserver 192.168.2.100
wiki.mainserver 192.168.2.100
test.mainserver 192.168.2.100

I've tried adding a host override with 'mainserver' as the domain but it doesn't seem to work.  if I use 'mainserver.test' it will work.. making me think that it's not possible with a single word domain?

any advice?

Thanks!
#2
Quote from: psychofaktory on October 17, 2022, 05:21:26 PM
Quote from: Fright on October 17, 2022, 04:04:31 PM
hope @psychofaktory will confirm too

Can confirm it works perfect with the fix.

A big thank you!

I ran into this issue today and found this post doing some googling.  I applied your fix and it resolved the issue for me as well.  Just figured I'd add another +1