Project

General

Profile

Actions

Bug #7771

closed

domain missing in reverse lookup of host overrides

Added by Richard van Dijk over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Forwarder
Target version:
Start date:
08/13/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.4_1
Affected Architecture:

Description

Add a host override in DNS Forwarder (dnsmasq):

  • Host: myhost
  • Domain: mydomain
  • IP address: 1.2.3.4

Forward lookup of myhost.mydomain will correctly return 1.2.3.4.
Reverse (PTR) lookup of 1.2.3.4 will return only myhost instead of myhost.mydomain.

This worked fine in 2.3.4, the bug appeared in 2.3.4_1. I think this is a regression caused by #7690.

Actions #1

Updated by Jim Pingle over 6 years ago

  • Status changed from New to Confirmed
  • Assignee set to Jim Pingle
  • Target version set to 2.3.4-p2

I'll take a look at this closer. I changed the order there since it made the code more consistent and it eliminated a weird special-case exception for localhost. I was focused on unbound on that other ticket, so I didn't catch that PTRs in dnsmasq were behaving differently.

Actions #2

Updated by Jim Pingle over 6 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Richard van Dijk over 6 years ago

It works with your changes, thanks!

Actions #4

Updated by Jim Pingle over 6 years ago

  • Status changed from Feedback to Resolved

Looks good on the latest snapshot.

Actions #5

Updated by Jim Pingle over 6 years ago

  • Target version changed from 2.3.4-p2 to 2.3.5
Actions

Also available in: Atom PDF