Project

General

Profile

Actions

Bug #6239

closed
CB CB

DHCP server NTP fields should allow hostnames

Bug #6239: DHCP server NTP fields should allow hostnames

Added by Chris Buechler over 10 years ago. Updated over 6 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

CB Updated by Chris Buechler over 10 years ago Actions #1

  • Status changed from Confirmed to Feedback

CB Updated by Chris Buechler over 10 years ago Actions #2

  • Status changed from Feedback to Resolved

works

EH Updated by Edward Hurtig almost 10 years ago Actions #3

Chris Buechler wrote:

works

Form validation does now allow hyphens in the NTP server name

Separate Issue Incoming

BS Updated by Beat Siegenthaler over 6 years ago Actions #4

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.

VG Updated by Viktor Gurov over 6 years ago Actions #5

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