Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2008 01:40:53 GMT
From:      Stephen Allen <p0036343@brookes.ac.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/129428: ntp.conf(5) is incorrect - you can only use IP address on restrict lines
Message-ID:  <200812050140.mB51erH9049371@www.freebsd.org>
Resent-Message-ID: <200812050150.mB51o0Vg080893@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129428
>Category:       docs
>Synopsis:       ntp.conf(5) is incorrect - you can only use IP address on restrict lines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 05 01:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Allen
>Release:        7.0
>Organization:
Oxford Brookes University
>Environment:
FreeBSD <hostname> 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 10:59:10 UTC 2008     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
In the section "Access Control Commands --> restrict", it says:

"The address argument expressed in dotted-quad form is the address of a host or network.  Alternatively, the address argument can be a valid host DNS name."

I have found that the address argument MUST be an ip address only - it doesn't work with a valid host DNS name.  This corroborated by the official documentation at: http://support.ntp.org/bin/view/Support/AccessRestrictions#Section_6.5.1.2.1. which says:

"You must use an IP address on the restrict line."
>How-To-Repeat:
In the restrict line, use host DNS name instead of IP address.
>Fix:
n/a

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812050140.mB51erH9049371>