How to specify IPv6 IP address in forwarders{} section in /etc/named.conf.

Solution Unverified - Updated -

Issue

  • How to specify IPv6 IP address in forwarders{} section in /etc/named.conf.

Ex)This is the DNS server's IPv6 IP address used for forwarders in this case as follows.

# ip -o a
2: ens3    inet6 fe80::3faf:2ab1:b0bf:b071/64 scope link tentative noprefixroute dadfailed \       valid_lft forever preferred_lft forever

This is a short-styled that IPv6 IP address specified in forwarders{} section in zone entry.

#  cat /etc/named.conf

zone "redhat.com" IN {
  type forward;
  forward only;
  forwarders { fe80::3;
  };
};

With this forwarders setting, dig command fails with SEVERFAIL as follows.

# dig @fe80::3 test.redhat.com AAAA

;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24496
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

Environment

  • Red Hat Enterprise Linux 7
  • bind

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content