LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-16-2015, 12:05 AM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
running a DHCPv6 server to provide only DNS servers


I have noticed that Windows clients will not auto-configure IPv6 DNS servers via the RDNSS capability of RA messages. I am considering setting up a DHCPv6 server on my LAN that will provide just DNS records to clients. Are there any pitfalls to this, or things to be concerned about?
 
Old 08-16-2015, 07:00 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Slaac + stateless dhcp should work if your router advertisements set M=0 and O=1.
 
Old 08-17-2015, 01:21 AM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
Alright thanks.

So I'm using the ISC DHCP server on an Arch Linux machine currently to hand out IPv4 addresses. The Arch machine is also a DNS server. My router is handing out global IPv6 addresses to LAN clients. I would like the DHCP server to only provide a DNS server address which will be the link-local of the Arch machine. From reading docs, I believe I can add the following to /etc/dhcpd.conf:

Code:
subnet6 fe80::/64 {
    option dhcp6.name-servers fe80::aa:bb:cc:dd;
}
Where fe80::aa:bb:cc:dd is the IPv6 link-local address of the Arch machine.... or no?
 
Old 08-17-2015, 09:02 AM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Yes. You can also push a domain if you want, like:

Code:
option dhcp6.domain-search "assimilateb.org";
 
Old 08-17-2015, 11:56 PM   #5
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
So here's what my /etc/dhcpd6.conf looks like:

Code:
default-lease-time 7200;
max-lease-time 7200;
log-facility local7;
subnet6 fe80::/64 {
        option dhcp6.name-servers fe80::SERVER-LINKLOCAL;
}
When clients try to request a lease (on Windows by running "ipconfig /renew6"), I get the following error entry in journald:

Code:
Aug 17 23:51:41 SERVER dhcpd[18708]: Solicit message from fe80::CLIENT-IPV6-LINKLOCAL port 546, transaction ID 0x225ADE00
Aug 17 23:51:41 SERVER dhcpd[18708]: Unable to pick client address: no IPv6 pools on this shared network
Aug 17 23:51:41 SERVER dhcpd[18708]: Sending Advertise to fe80::CLIENT-IPV6-LINKLOCAL port 546
Any ideas?

Last edited by psycroptic; 08-18-2015 at 12:01 AM.
 
  


Reply



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
[SOLVED] DHCP server not provide DNS address to users..... jitenderana Linux - Server 5 09-03-2011 12:11 AM
replace the existing dns servers with OPEN DNS servers in fedora 13 z99 Linux - Newbie 3 03-23-2011 09:29 AM
Multiple RHEL 5 Servers running Bind - joining Windows AD and DNS folkrm Linux - Server 1 01-13-2010 04:02 PM
Down DNS server cripples my Linux Servers dlublink Linux - Networking 5 09-16-2009 03:35 PM
How to set DNS servers? How to stop auto change of DNS servers? newtovanilla Linux - Newbie 1 10-29-2008 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration