Project

General

Profile

Actions

Bug #6239

closed

DHCP server NTP fields should allow hostnames

Added by Chris Buechler almost 8 years ago. Updated about 4 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions #1

Updated by Chris Buechler almost 8 years ago

  • Status changed from Confirmed to Feedback
Actions #2

Updated by Chris Buechler almost 8 years ago

  • Status changed from Feedback to Resolved

works

Actions #3

Updated by Edward Hurtig over 7 years ago

Chris Buechler wrote:

works

Form validation does now allow hyphens in the NTP server name

Separate Issue Incoming

Actions #4

Updated by Beat Siegenthaler about 4 years 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.
Actions #5

Updated by Viktor Gurov about 4 years 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

Actions

Also available in: Atom PDF