Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Custom DNS entry issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: Custom DNS entry issue (Read 744 times)
BrutusBoots
Newbie
Posts: 2
Karma: 1
Custom DNS entry issue
«
on:
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Custom DNS entry issue