AD DNS Server - use multiple servers?

All questions pertaining to Windows Active Directory Service can go here

AD DNS Server - use multiple servers?

Postby sonynair » Thu Oct 20, 2011 11:28 am

Hi,

My Syno is joined to my domain with no issues.

However, in my AD setup I have a primary and secondary DNS Sever.

The Syno control panel only allows to enter a single IP address under "DNS Server" in the Domain/Workgroup tab within Control Panel.

This means when my primary DNS Server is down, authentication to AD from the Syno fail. It does not fail over to secondary.

How can I configure primary & secondary DNS servers in that text box?

Many thanks
sonynair
Apprentice
Apprentice
 
Posts: 80
Joined: Fri Mar 05, 2010 6:29 pm

Re: AD DNS Server - use multiple servers?

Postby Fit » Tue Nov 29, 2011 4:46 pm

I would post a feature request/suggestion for this on the forum since it is a very basic functionality that should be present in the DSM.
DS207+ DSM 3.1-1613 | 2 x WD5000AAKS (500GB) | RAID1
DS207+ DSM 3.1-1613 | 2 x WD5000AAKS (500GB) | RAID1
DS207+ DSM 3.0-1354 | 2 x ST31000528AS (1TB) | RAID1
DS109j DSM 4.0-2198 | HDS725050KLA360 (500GB) | Basic
DS209+II DSM 4.0-2198 | 2 x ST31500341AS (1,5TB) | RAID1
DS209+II DSM 4.0-2198 | ST31500341AS (1,5TB) + WD5000AAKS (500GB) | 2 x basic
DS211j DSM 4.0-2228 | 2 x ST3320820AS (320GB) | RAID1
DS111 DSM 4.2-3211 | WD150ADFS (150GB) | Basic
2 x APC Back-UPS CS 500
User avatar
Fit
Versed
Versed
 
Posts: 253
Joined: Thu Apr 29, 2010 9:24 pm
Location: Belgium

Re: AD DNS Server - use multiple servers?

Postby sonynair » Thu Feb 09, 2012 6:01 pm

Is there a configuration file I can edit to add a secondary DNS server, instead of relying on the GUI?

Thanks
sonynair
Apprentice
Apprentice
 
Posts: 80
Joined: Fri Mar 05, 2010 6:29 pm

Re: AD DNS Server - use multiple servers?

Postby crisvG » Sun Apr 15, 2012 4:23 pm

I would love to add a 2nd DNS too.

I noticed when the primary DNS is down (for example, the DC01) the Synology starts to respond extremly slow. A 2nd DNS for fallback (to a DC02) most probably will solve this issue.

I think its a must for business purposes to add at least 1 fallback DNS.

Could this (i think relative simple) change be implanted ?
Last edited by crisvG on Sun Apr 15, 2012 7:19 pm, edited 1 time in total.
Synology 1512+
User avatar
crisvG
I'm New!
I'm New!
 
Posts: 4
Joined: Sat Jan 07, 2012 11:00 pm

Re: AD DNS Server - use multiple servers?

Postby myCloud » Sun Apr 15, 2012 4:48 pm

Just curious if adding the secondary after the primary, separated by a comma and space, would work in the configuration?
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.
User avatar
myCloud
Skilled
Skilled
 
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: AD DNS Server - use multiple servers?

Postby sonynair » Sun Apr 15, 2012 10:55 pm

myCloud wrote:Just curious if adding the secondary after the primary, separated by a comma and space, would work in the configuration?


I'm willing to give this a try if you can tell me what the configuration file that needs editing is?

Cheers
sonynair
Apprentice
Apprentice
 
Posts: 80
Joined: Fri Mar 05, 2010 6:29 pm

Re: AD DNS Server - use multiple servers?

Postby myCloud » Mon Apr 16, 2012 11:32 am

I'm not sure where that would be. I tried doing it in the DNS field of the Network Control Panel and it wouldn't let me type anything past the first IP address.
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.
User avatar
myCloud
Skilled
Skilled
 
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: AD DNS Server - use multiple servers?

Postby sonynair » Wed Apr 18, 2012 11:26 pm

So I've been doing some digging and found that in linux dns lookup is performed by resolv.conf


cat /etc/resolv.conf
Code: Select all
nameserver 10.0.187.110
nameserver 10.0.187.110
search mydomain.com


Notice my primary and secondary are set to the same ip for some stupid reason - no wonder the NAS failed when primary server went down! Must be bug in DSM - I have logged a support ticket.

I used vi to update it to:

cat /etc/resolv.conf
Code: Select all
nameserver 10.0.187.110
nameserver 10.0.187.112
search mydomain.com
options timeout:1


I added "options timeout:1" because otherwise it was taking 10 seconds to failover to the secondary server for lookups.

This has fixed my issue :) and remains intact even after reboot.

Hope this helps you guys out.
sonynair
Apprentice
Apprentice
 
Posts: 80
Joined: Fri Mar 05, 2010 6:29 pm

Re: AD DNS Server - use multiple servers?

Postby myCloud » Thu Apr 19, 2012 12:01 am

Thank you for sharing this!
DS 1512+ w/3GB, 5 x 3TB Seagate ST3000DM001 8.2TB RAID 6, half files/half Time Machine.
Icy Dock MB559U3S-1SB enclosure w/4TB Hitachi UltraStar via USB 3 for files backup
UVERSE to AirPort Extreme + 2 AirPort Express w/speakers. TRENDnet TV-IP312WN camera
CyberPower CP1500PFCLCD Sine Wave UPS
DSM 4.1-2661 w/SSH + SFTP, VPN Server, Syslog Server, Media Server, Mail Server, Mail Station,
Audio Station, Surveillance Station, Photo Station, Web Station - DS Apps on iPad & iPod Touch.
User avatar
myCloud
Skilled
Skilled
 
Posts: 648
Joined: Fri Mar 23, 2012 11:28 am

Re: AD DNS Server - use multiple servers?

Postby gurufarmer » Mon Jan 14, 2013 9:19 pm

How do you get the file so its not in read only so you can edit it?
Remember: RAID is not a replacement for backups

DS1512+, DSM4.1-2647, 3-3TB Seagate ST3000DM001
gurufarmer
Novice
Novice
 
Posts: 50
Joined: Sun Apr 08, 2012 6:44 pm
Location: South West Minnesota


Return to Windows AD Domain

Who is online

Users browsing this forum: No registered users and 1 guest