Project

General

Profile

Bug #6239

DHCP server NTP fields should allow hostnames

Added by Chris Buechler over 4 years ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP Server
Target version:
Start date:
04/23/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
All
Affected Architecture:

Description

NTP server fields on DHCP Server config page only allow IPs. That works fine with FQDNs now, IIRC it didn't in the past.

Same restriction exists on DHCPv6 Server, but dhcpd won't start with FQDNs there so that's correct.

fix coming momentarily

Associated revisions

Revision 39bfb267 (diff)
Added by Chris Buechler over 4 years ago

Hostnames are valid for NTP servers in DHCP Server. Ticket #6239

Revision 2f15f373 (diff)
Added by Chris Buechler over 4 years ago

Hostnames are valid for NTP servers in DHCP Server. Ticket #6239

History

#1 Updated by Chris Buechler over 4 years ago

  • Status changed from Confirmed to Feedback

#2 Updated by Chris Buechler over 4 years ago

  • Status changed from Feedback to Resolved

works

#3 Updated by Edward Hurtig about 4 years ago

Chris Buechler wrote:

works

Form validation does now allow hyphens in the NTP server name

Separate Issue Incoming

#4 Updated by Beat Siegenthaler 7 months ago

Chris Buechler wrote:

Same restriction exists on DHCPv6 Server, but dhcpd won't start with FQDNs there so that's correct.

Is this (annoying) restriction still valid?

In 2.4.4p3 i get following error:

The following input errors were detected:

A valid IPv6 address must be specified for the primary/secondary NTP servers.

#5 Updated by Viktor Gurov 7 months ago

Beat Siegenthaler wrote:

Chris Buechler wrote:

Same restriction exists on DHCPv6 Server, but dhcpd won't start with FQDNs there so that's correct.

Is this (annoying) restriction still valid?

Valid:

Internet Systems Consortium DHCP Server 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcpdv6.conf line 19: Invalid IPv6 address.
        option dhcp6.sntp-servers ntp1.
                     ^
Configuration file errors encountered -- exiting

no changes in the latest isc-dhcp 4.4.2

Also available in: Atom PDF