Project

General

Profile

Actions

Bug #8054

closed

DHCP server accepts trailing dot in domain names, DNS resolver adds another and breaks

Added by Jove Too about 7 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
DNS Resolver
Target version:
Start date:
11/04/2017
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.1
Affected Architecture:
amd64

Description

If you add a trailing dot on the domain name in the "domain name" and "domain search list", this is accepted. The DNS Resolver retrieves this domain name from a lease and adds a dot: the configuration file ends up with 2 trailing dots and unbound fails to parse its config file.

I believe adding the trailing dot in the domain name of the dhcp server is allowed but the DNS resolver should detect this trailing dot and not add a second one.

Actions #1

Updated by Jove Too about 7 years ago

To be clear: this happened with a static lease.

Actions #2

Updated by Viktor Gurov over 4 years ago

This is true only for the DHCP static mapping "domain name" or the System / General / Domain, but not for the "domain search list".

Fix:
https://github.com/pfsense/pfsense/pull/4251

Actions #3

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.5.0
Actions #4

Updated by Renato Botelho over 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Renato Botelho
  • % Done changed from 0 to 100

PR has been merged. Thanks!

Actions #5

Updated by Viktor Gurov over 4 years ago

  • Status changed from Feedback to Resolved

works as expected on 2.5.0.a.20200403.1936

Actions #6

Updated by Jim Pingle over 4 years ago

  • Status changed from Resolved to Feedback
  • Target version changed from 2.5.0 to 2.4.5-p1
Actions #7

Updated by Jim Pingle over 4 years ago

  • Status changed from Feedback to Resolved

The trailing dot is no longer allowed in input on the fields in question which would result in an error.

Actions

Also available in: Atom PDF