Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Linux, where is the DNSv6 server list stored? Like in the v4 case, will it be stored in /etc/resolv.conf?

share|improve this question

In the same file

check the "nameserver" stanza.


IPv4 address (in dot notation) or IPv6 address (in hex-and- colon notation) of a name server that the resolver should query. Scoped IPv6 address notation is accepted as well (see inet6(4) for details). A non-standard port may be specified using [host]:port syntax. When a non-standard port is specified the host address must be enclosed in square brackets. For example:

nameserver []:5353
nameserver [::1]:5353

You may be able to go without the brackets, but i think i recall the code was changed to make it expected fro ipv6 addresses. Maybe someone else can confirm that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.