Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

forwarders (IPv6)

31 views
Skip to first unread message

Chakrapani, Praveen CTR

unread,
Sep 13, 2016, 4:49:05 PM9/13/16
to bind-...@lists.isc.org

Hi,

 

I added below line to my named.conf to include IPv6 addresses to the forwarders list. However I am getting this error “Sep 13 10:33:06 servername named[24778]: [ID 873579 daemon.error] /etc/named.conf:158: expected IP address near '2001:1890:1C04:3000:0CB7:4432'”

 

“forwarders { 12.227.230.4; 12.227.230.10; 12.183.68.50; 12.183.68.51; 12.71.76.50; 12.71.76.51; 2001:1890:1C04:3000:0CB7:4432; 2001:1890:1C04:3000:0CB7:4433; 2001:1890:1C04:3400:0C47:4C32; 2001:1890:1C04:3400:0C47:4C33; };

        forward first;”

 

Please let know how to add IPv6 addresses to the forwarders list.

 

Thanks,

Praveen Kumar Chakrapani (CTR)

AECOM Contractor, Lead UNIX Administrator
Desk (202)326-3282

 

Darcy Kevin (FCA)

unread,
Sep 13, 2016, 4:59:24 PM9/13/16
to bind-...@lists.isc.org

That’s not a valid IPv6 address representation. You probably mistyped a double colon as a single colon in the middle of the address.

 

(RFC 4291)

 

2.2.  Text Representation of Addresses

 

   There are three conventional forms for representing IPv6 addresses as

   text strings:

 

   1. The preferred form is x:x:x:x:x:x:x:x, where the 'x's are one to

      four hexadecimal digits of the eight 16-bit pieces of the address.

      Examples:

 

         ABCD:EF01:2345:6789:ABCD:EF01:2345:6789

 

         2001:DB8:0:0:8:800:200C:417A

 

      Note that it is not necessary to write the leading zeros in an

      individual field, but there must be at least one numeral in every

      field (except for the case described in 2.).

 

   2. Due to some methods of allocating certain styles of IPv6

      addresses, it will be common for addresses to contain long strings

      of zero bits.  In order to make writing addresses containing zero

      bits easier, a special syntax is available to compress the zeros.

      The use of "::" indicates one or more groups of 16 bits of zeros.

      The "::" can only appear once in an address.  The "::" can also be

      used to compress leading or trailing zeros in an address.

 

                                                                                                                                                                                - Kevin

Graham Clinch

unread,
Sep 13, 2016, 5:04:11 PM9/13/16
to bind-...@lists.isc.org
> I added below line to my named.conf to include IPv6 addresses to the
> forwarders list. However I am getting this error *“Sep 13 10:33:06
> servername named[24778]: [ID 873579 daemon.error] /etc/named.conf:158:
> expected IP address near '2001:1890:1C04:3000:0CB7:4432'”*

That's because it's not a valid representation of an IPv6 address (it
has only 6 hextets where you would expect to see 8, or a double-colon to
mark compressed zeros):

2001:db8:a4:ea5c:0:0:53:a1 = 2001:db8:a4:ea5c::53:a1

Graham

Mark Andrews

unread,
Sep 13, 2016, 5:21:38 PM9/13/16
to Chakrapani, Praveen CTR, bind-...@isc.org

In message <3C929CE024CE174480D56...@HQ1-MAILMB-V1.trade.ftc.gov>, "Chakrapani, Praveen CTR via bind-users" writes:
>
> Hi,
>
> I added below line to my named.conf to include IPv6 addresses to the
> forwarders list. However I am getting this error "Sep 13 10:33:06
> servername named[24778]: [ID 873579 daemon.error] /etc/named.conf:158:
> expected IP address near '2001:1890:1C04:3000:0CB7:4432'"
>
> "forwarders { 12.227.230.4; 12.227.230.10; 12.183.68.50; 12.183.68.51;
> 12.71.76.50; 12.71.76.51; 2001:1890:1C04:3000:0CB7:4432;
> 2001:1890:1C04:3000:0CB7:4433; 2001:1890:1C04:3400:0C47:4C32;
> 2001:1890:1C04:3400:0C47:4C33; };
> forward first;"
>
> Please let know how to add IPv6 addresses to the forwarders list.

Add a syntactically valid IPv6 address. 2001:1890:1C04:3000:0CB7:4432
is NOT a valid IPv6 address. It's missing 32 bits of the address.

Did you mean 2001:1890:1C04:3000::0CB7:4432 perhaps as you seem to
be encoding the IPv4 addresses in the last 32 bits? Note the
double "::" signifying 32 zero bits in this case.

Mark

> Thanks,
> Praveen Kumar Chakrapani (CTR)
> AECOM Contractor, Lead UNIX Administrator
> Desk (202)326-3282
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
0 new messages