Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to use DNS of host network when accessing host services from remote machine?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to use DNS of host network when accessing host services from remote machine? (Read 811 times)
baz
Jr. Member
Posts: 52
Karma: 1
How to use DNS of host network when accessing host services from remote machine?
«
on:
January 22, 2023, 01:44:57 am »
I am connecting two sites through a peer-to-peer OpenVPN connection. I am able to access machines in the host network from the remote network by IP, however I am unable to access those same machines by name.
How can I tell my remote machine to use the host's DNS when trying to access host sites?
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: How to use DNS of host network when accessing host services from remote machine?
«
Reply #1 on:
January 22, 2023, 10:20:54 am »
You need to set up DNS servers that hold zone(s) with A/CNAME records for hosts on both sites. Some multi-master DNS systems exist (notably Microsoft AD integrated DNS) but you generally have to set one primary DNS and replicate to a secondary on the other site. This includes static and dynamic DNS updates. Don't forget to allow both TCP and UDP 53 since the protocol requires both.
A great next step is to read 'DNS and BIND' from O'Reilly (a.k.a. the Cricket book). It is an important skill to master in IT. Don't forget the sysadmin's haiku:
https://www.cyberciti.biz/humour/a-haiku-about-dns/
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to use DNS of host network when accessing host services from remote machine?