DNS Replication
Posted: Sat Dec 07, 2019 7:07 am
I'm looking for a way to setup the DNS in Amahi to sync zones from another DNS server. I run pfSense as my primary DNS server on my network and Amahi as secondary. My pfSense DNS has overrides set for certain host/domains. It would be nice if I could sync those entries over to Amahi.
Here is my problem I run into sometimes. Maybe someone has a novel solution I haven't thought of. If so please feel free to share.
I run lan.(mydomain.something) as my internal domain and mydomain.something for external. Amahi uses the lan. internal subdomain and I have manually set all the necessary alias's within Amahi and pfSense. Within pfSense I have overrides so that if I hit the external domain name for something on my local network it will resolve to the local IP address. My problem is that Amahi at least from the WebGUI will only let me set an alias for the lan. subdomain. So if a device resolves with Amahi it will sometimes resolve the public and not local IP and if I have not yet set an external DNS record then it doesn't resolve.
Thoughts?
Thanks.
Here is my problem I run into sometimes. Maybe someone has a novel solution I haven't thought of. If so please feel free to share.
I run lan.(mydomain.something) as my internal domain and mydomain.something for external. Amahi uses the lan. internal subdomain and I have manually set all the necessary alias's within Amahi and pfSense. Within pfSense I have overrides so that if I hit the external domain name for something on my local network it will resolve to the local IP address. My problem is that Amahi at least from the WebGUI will only let me set an alias for the lan. subdomain. So if a device resolves with Amahi it will sometimes resolve the public and not local IP and if I have not yet set an external DNS record then it doesn't resolve.
Thoughts?
Thanks.