Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
DNS Manual Entry / Hostname Alias?
« previous
next »
Print
Pages: [
1
]
Author
Topic: DNS Manual Entry / Hostname Alias? (Read 977 times)
ottomation
Newbie
Posts: 5
Karma: 0
DNS Manual Entry / Hostname Alias?
«
on:
May 07, 2022, 10:32:05 pm »
Ok, so I feel like this should be an easy task, as I feel I did this easily on a pihole server with DNS enabled a couple years ago, but for the life of me, I can't seem to figure out how to do this in opnsense.
I have a PC that has an apache web server and a plex media server running on it. I can access the apache web server via hostname.home.net. I can access the plex media server via hostname.home.net:port. I want to set a manual DNS entry so that I can resolve plex.home.net to the same IP as hostname.home.net and then use a reverse proxy in the apache config to forward plex.home.net to the correct port. At least, I think this would be the correct way to do this. This is making me feel real dumb I can't figure this out.
edit: to be clear, in case it's not, I'm looking for help on how to set a manual DNS entry in opnsense, not the apache reverse proxy thing. I have unbound enabled. I don't know if I'm just thinking about this wrong or searching for the wrong terms or what, but no matter what I seem to try it doesn't work.
«
Last Edit: May 07, 2022, 11:41:23 pm by ottomation
»
Logged
ottomation
Newbie
Posts: 5
Karma: 0
Re: DNS Manual Entry / Hostname Alias?
«
Reply #1 on:
May 13, 2022, 09:24:23 pm »
So apparently I was doing it correctly by setting an override, but it just wasn't resolving it. What I have found, and I've tested this twice now to confirm it, is if I create a override, I cannot get it to resolve. If I go to the DHCP lease table and set any random device to a static entry, the override will begin to resolve. I've tried just restarting the DNS and DHCP services, but it won't work until I set a device to a static entry. I can't imagine this is expected behavior. Does this sound like a bug or do I somehow have something configured incorrectly?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
DNS Manual Entry / Hostname Alias?