Project

General

Profile

Actions

Bug #14331

open

rDNS for the Hostname IP is first DNS override rather than hostname

Added by Pete Holzmann about 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DNS Resolver
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
All
Affected Architecture:
All

Description

Expected Function:
Given that Hostname produces a typical local DNS entry for subnets, eg:
`local-data: "my.dom.ain. A 192.168.1.1"`
I expect the rDNS to match, ie:
`local-data-ptr: "192.168.1.1 my.dom.ain"`
This brings clarity and sense to all kinds of monitoring and cataloging systems.

Actual Outcome / BUG:
rDNS is set to the first name alphabetically, in the list of unbound host overrides.
If I have aa-test.dom.ain, the rDNS for the IP is
`local-data-ptr: "192.168.1.1 aa-test.dom.ain"`

(Not sure if related, and I consider this minor by comparison: no rDNS names are autoassigned to other local subnet gateway IP's)

Ref: https://forum.netgate.com/topic/179526/where-does-freebsd-store-hostname-once-set/13?_=1682947251607

Actions

Also available in: Atom PDF