Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Unable to get "hostname.domainname.com" to work
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to get "hostname.domainname.com" to work (Read 870 times)
SideOfRanch
Newbie
Posts: 11
Karma: 0
Unable to get "hostname.domainname.com" to work
«
on:
December 29, 2023, 08:17:03 pm »
I'm using it as a home DIY hobbiest and it's worked fine for a long time, but I've never been able to get mydomain to work.
Let's take an example and see if anyone can see where I'm going wrong:
1. I own myname.com and it's a registered domain name
2. Under Systems-Settings->General: I have the hostname set to OpnSense and domain is mydomain.com
3. I'm using OpnSense for DNS, so in this exact same screen I have DNS set to 1.1.1.1
4. Under Services->DHCPv4->[LAN] (base network): I have DNS currently set to 1.1.1.1 (when I tried this before, my internet went out and to force DNS to start resolving, I changed this from 192.168.1.1 (OPNSENSE) to 1.1.1.1 to keep the family from screaming too long. I'm assuming this should be set to 192.168.1.1?
5. In this same settings page, "Domain Name" is lan and "Domain Search List" is lan. Should this be mydomain.com? I don't know if I did this, or it came out of the box this way. Should these maybe be blank?
6. DNSMasq is enabled, set to DHCP Registration: True and Prefer DHCP: Resolve DHCP Mappings First
7. Unbound DNS is disabled
My long term goal is to get adguard home working but Im' trying to resolve one problem at a time. I had PiHole working but could never get this hostname issue resolved, so now I'm trying to go back to default and get the hostname issue resolved before moving forward with anything else.
Logged
SideOfRanch
Newbie
Posts: 11
Karma: 0
Re: Unable to get "hostname.domainname.com" to work
«
Reply #1 on:
December 29, 2023, 08:36:22 pm »
Well, I ended up going down a quick rabbit hole to enable adguard and I think it resolved my issue above. I followed this guide:
https://forum.opnsense.org/index.php?topic=22162.msg146626#msg146626
The only thing I could NOT follow is leaving DNS blank on both GENERAL and the LAN interface. I had to put 192.168.1.1, not sure why these instrucitons say to leave it blank? I have Adguard running on 192.168.1.1:53; any idea why it says to leave all the DNS servers blank in OPNSENSE? Seems odd and I'd like to understand why my setup doesn't work wehn I follow this guide, but everyone else seems to have no issue.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Unable to get "hostname.domainname.com" to work