Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Confused by Unbound PTR resolution
« previous
next »
Print
Pages: [
1
]
Author
Topic: Confused by Unbound PTR resolution (Read 4029 times)
Moonshine
Newbie
Posts: 16
Karma: 0
Confused by Unbound PTR resolution
«
on:
January 15, 2022, 07:46:04 pm »
Hello..
Brand new to OPNsense and Unbound, coming from an aging Tomato and DNSmasq setup. One thing has me baffled though.
When setting up an override record with several aliases (such as for my Nginx proxy server), all of the alias records are included as reverse (PTR) entries for the IP and lookups return all of them (in seemingly random order).
This seems wrong to me, or am I just missing something ? I've always thought there should only (at most) be a single PTR returned for an IP -- which I would have assumed would be the main entry.
Thanks!
Logged
maciekb
Newbie
Posts: 3
Karma: 0
Re: Confused by Unbound PTR resolution
«
Reply #1 on:
July 28, 2022, 09:24:05 pm »
I observed the same thing, and frankly, it seems to me that this is not correct behavior. Configuring DNS name overriding the PTR record should point only to the main record, aliases to this record should not be registered in DNS. The problem is especially evident in Zenarmor, where you see random names for such addresses.
Best regards,
Maciej
Logged
bebef
Newbie
Posts: 18
Karma: 1
Re: Confused by Unbound PTR resolution
«
Reply #2 on:
July 30, 2022, 09:40:51 am »
Frankly, DNS in OPNsense is a mess. It's lacking a lot of control/configurability. For instance, it will create a DNS record for every interface, regardless of you wanting it/it making sense or not. That's why I had to use a random hostname for my box, so that I could create an override record with the actual hostname I wanted to use.
The same is true for the host overrides. If I enter an A record, I want to have an A record in my DNS. Not another PTR.
I have filed a GitHub issue about the "DNS for every interface" issue, which mostly got ignored.
I'm now looking into alternatives. One could be to install BIND, although I think that's a little overkill. Or I could
NOT
run my DNS on OPNsense, which sounds even dumber to me.
Logged
seed
Full Member
Posts: 174
Karma: 12
Re: Confused by Unbound PTR resolution
«
Reply #3 on:
September 08, 2022, 03:51:59 pm »
I know this thread is a little old, but does PTR resolution come back to the unbound configuration?
Logged
i want all services to run with wirespeed and therefore run this dedicated hardware configuration:
AMD Ryzen 7 9700x
ASUS Pro B650M-CT-CSM
64GB DDR5 ECC (2x KSM56E46BD8KM-32HA)
Intel XL710-BM1
Intel i350-T4
2x SSD with ZFS mirror
PiKVM for remote maintenance
private user, no business use
efahl
Newbie
Posts: 17
Karma: 2
Re: Confused by Unbound PTR resolution
«
Reply #4 on:
September 08, 2022, 08:02:04 pm »
https://forum.opnsense.org/index.php?topic=30167.msg145954#msg145954
I think the fix went too far.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Confused by Unbound PTR resolution