LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-08-2009, 05:55 AM   #1
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 209

Rep: Reputation: 27
BIND IPv6 DNS Server Configuration


hi,

I am new this (setting up DNS servers), I am trying to set up BIND(ver 9.3.4-P1) on RHEL 5 to handle IPv6 name resolution requests within a LAN. I am not trying to get it to provide DNS for the internet.

I've been referring to http://www.linuxquestions.org/questions/linux-server-73/how-to-configure-dns-in-rhel-5-help..........-547819/

I am trying to figure out how to write the /etc/named.conf and the zone file.

So far I've been able to come up with the following named.conf
Code:
options {
             listen-on {any; };
             listen-onv6 {any; };
};
is there any how-to i should be reading? help!
 
Old 07-08-2009, 08:28 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
I think it must be:
Code:
listen-on-v6 { any; };
and it is all the stuff you have to do in order to allow IPv6 resolving; simply add AAAA-records as well as A-records in zone-files you keep
 
Old 07-09-2009, 02:37 AM   #3
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 209

Original Poster
Rep: Reputation: 27
hi,

thanks for the response.

this is what my /etc/named.conf looks like:
Code:
options {
             listen-on { any; };
             listen-on-v6 { any; };
             allow-query { any; };
};

zone localdomain        {
        type master;
        file "named.root";
};
the named.root file is as follows
Code:
.       3600000         in      ns      localdomain.

client.     3600000         in      AAAA      fe80::20c:29ff:fe77:6d21%4
client.     3600000         in      a6        0 fe80::20c:29ff:fe77:6d21%4
i've made these based on http://www.viagenie.qc.ca/en/ipv6/fu...-to.shtml#bind

i have named the domain localdomain because its my dnsdomainname.

service named status - comes up with named server running.
the DNS server's ipv6 address is fe80::219:b9ff:fe0e:300a/64

Does this look fine? i have tried adding this DNS server on WinXP using
Code:
netsh interface ipv6 add dns "Local Area Connection" fe80::219:b9ff:fe0e:300a/64
On the client I am not able to ping the client's hostname, it doesnt resolve the client's IPv6 address.

help!
 
Old 07-17-2012, 09:54 AM   #4
Ashish Gangani
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
IPv6 config

Hi,
Edit the file /etc/named.conf
Code:
# File : /etc/named.conf
options {
        directory "/var/lib/named";
        dump-file "/var/log/named_dump.db";
        statistics-file "/var/log/named.stats";
        listen-on-v6 { any; };
        notify no;
        include "/etc/named.d/forwarders.conf";
};

zone "." in {
        type hint;
        file "root.hint";
};

zone "localhost" in {
        type master;
        file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
        type master;
        file "127.0.0.zone";
};

include "/etc/named.conf.include";
logging {
        category default { log_syslog; };
        channel log_syslog { syslog; };
};
zone "ashish.com" in {
        allow-transfer { any; };
        file "master/ashish.com";
        type master;
};
Edit the file /var/lib/named/master/ashish.com
Code:
$TTL 2d
@               IN SOA          server1.ashish.com.  root.server1.ashish.com. (
                                2012071801      ; serial
                                3h              ; refresh
                                1h              ; retry
                                1w              ; expiry
                                1d )            ; minimum

ashish.com.    IN NS           server1.ashish.com.
server1        IN AAAA         2001:1:1::1
client1        IN AAAA         2001:1:1::2
ashish.com     IN NS           server1
Edit file /etc/resolv.conf

Code:
search ashish.com
nameserver 2001:1:1::1

Last edited by Ashish Gangani; 07-17-2012 at 09:56 AM.
 
  


Reply


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
configuration DNS ,bind server Tomas12345 Linux - Newbie 1 06-29-2009 08:42 AM
IPv6 DNS queries being sent on SLES servers even though disabled by configuration vm_devadas Suse/Novell 0 01-26-2009 03:19 PM
How to get Windows Clients to be served DNS from a Linux BIND-DNS Server texmansru47 Linux - Networking 12 07-10-2008 07:06 PM
reverse lookup entry in DNS configuration using BIND bzlaskar Linux - Server 1 05-14-2007 03:49 PM
DNS configuration with bind snipersock Linux - Networking 6 08-24-2004 04:00 PM


All times are GMT -5. The time now is 09:54 AM.

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