document IPv6 addresses
authorAlan T. DeKok <aland@freeradius.org>
Tue, 28 Feb 2017 18:23:26 +0000 (13:23 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 28 Feb 2017 18:23:26 +0000 (13:23 -0500)
man/man1/radclient.1

index 6305411..b40c9bb 100644 (file)
@@ -1,4 +1,4 @@
-.TH RADCLIENT 1 "28 March 2014" "" "FreeRADIUS Daemon"
+.TH RADCLIENT 1 "28 February 2017" "" "FreeRADIUS Daemon"
 .SH NAME
 radclient - send packets to a RADIUS server, show reply
 .SH SYNOPSIS
@@ -125,6 +125,15 @@ accounting packets, and \fBradius\fP for all other requests. If a
 service is not found in \fI/etc/services\fP, 1813 and 1812 are used
 respectively.
 
+If a host name is specified, then radclient will do a DNS lookup, and
+use the A record to find the IP address of the RADIUS server.  If
+there is no A record, then radclient will look for an AAAA record.  If
+there is no AAAA record, an error will be produced.
+
+IPv6 addresses may be specified by surrounding it in square brackets.
+For example, [2002:c000:0201:0:0:0:0:0], or with a port,
+[2002:c000:0201:0:0:0:0:0]:18120.
+
 The RADIUS attributes read by \fIradclient\fP can contain the special
 attribute \fBPacket-Dst-IP-Address\fP.  If this attribute exists, then
 that IP address is where the packet is sent, and the \fBserver\fP