Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

In the same file

check the "nameserver" stanza.

nameserver

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 [10.0.0.1]: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

 
discard

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.