Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-23-2009, 09:49 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
BIND9 as forwarder, IPv6 queries from IPv6 forwarders


I have an IPv4 and an IPv6 link on my home server. My provider has 2 IPv4 and 2 IPv6 domain name servers. I'm using BIND9 as a caching DNS server, I configured my provider's 4 DNS servers as forwarders.

The problem is when an IPv4 DNS query arrives, BIND forwards the query to the first server in the forwarders list, not to the server with the same protocol. I would like BIND to forward a query coming from an IPv4 host to an IPv4 domain server, and a query coming from an IPv6 host to an IPv6 domain server.

I think the only resolution for this problem is to run 2 BIND9 processes, one listening on IPv4 and one on IPv6, the first configured with IPv4 forwarders only, and the second with IPv6 forwarders only.

Can this be done with only one BIND9 instance?

Thanks for the help.
Old 11-23-2009, 01:57 PM   #2
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22

There is absolutely no reason for BIND to do that. The DNS protocol is independendent from the underlying IP transport. Your resolver doesn't even need IPv6 connectivity to resolve AAAA records as long as there aren't any IPv6-only nameservers.

Enabling IPv6 for stylish reasons without knowing about the technology is a bad idea and brings security risks. The very least I can recommend is you do a lot more reading before changing the way things work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv6 DNS queries being sent on SLES servers even though disabled by configuration vm_devadas SUSE / openSUSE 0 01-26-2009 03:19 PM
ipv6 queries to dns peacebwitchu AIX 0 11-10-2005 06:57 PM
BIND9.2.4 and IPv6 on RHEL4 silvercloud Linux - Enterprise 1 08-16-2005 10:10 AM
BIND9.2.4 and IPv6 silvercloud Linux - Networking 0 08-13-2005 01:38 AM
DNS IPv6 Queries Fail kawauso-kun Debian 1 01-15-2005 05:31 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration