How to set up a Synology NAS as a VPN server

Initial Installation

Using a Synology NAS as an emergency backup DNS server for vSphere
This shows the values that are created automaticially from the information you have entered already. We do want it to look like the URIs are going to myblog. Upon further investigation I see there were some bugs in the past with a disappearing gateway, primarily if the connections were bonded during the upgrade. When logrotate is run next time we will see dhcp-dns. Any ideas or things to check?

Related articles

DNS and DHCP on Synology NAS

Resource records for a Reverse Zone provide the translation from an IP address to a human-readable name. To create a resource record in your Master Reverse Zone:.

The best way to test your new DNS configuration is by updating your DNS settings on your local desktop or laptop to use your new server. Under macOS you'd perform this by:. If you'd prefer to test using Terminal then you'll want to use the dig command:. Where [server] is the IP address of your Synology. If it's working you should get a response that looks like this:. You've now successfully configured DNS for forward and reverse lookups on your Synology.

The only step left is to ensure that the IP address of your Synology is being configured on your internal hosts, which you'll do on your DHCP server. Hi, I'm Rob Pickering, I write this blog about things that interest me: Initial Installation There is pretty good documentation from Synology on configuring your NAS for DNS, but I ran into several issues for proper configuration, so I decided to write this post to document how I was successful.

I used the two OpenDNS servers in the below picture Set Forward policy to Forward First - this will forward requests on to your Forwarders if they are not found in the local DNS Zones, and then if they fail, look up the query in the root zones. If instead you wish to fail the resolution after forwarding, use Don't query root servers Optional: Configure the Zone as follows: Forward Zone Domain name: If you do not configure an IP address during this step, your zone will not load see below for instructions on fixing it Clicking OK will save the zone.

Now you can create some resource records! Resource Records Resource records provide the translation from a human-readable name to an IP address and vice versa.

To create a resource record in your Master Forward Zone: Select the Zone in which you want to create records, then click Edit and select Resource Record Click Create and then select the type of record to create this will most likely be an A Type , the types are: Service definition, specifies the server that is providing a given service TXT Type: If this happens you'll have to manually create the NS record on the zone by doing the following: This should now allow the domain to load properly.

Reverse Zone Domain name: Resource Records Resource records for a Reverse Zone provide the translation from an IP address to a human-readable name.

To create a resource record in your Master Reverse Zone: Select the Zone in which you want to create records, then click Edit and select Resource Record Click Create and then select the type of record to create this will most likely be an PTR Type , the types are: Under macOS you'd perform this by: However, the DSM update continued to give me that error.

My best guess is that the time it took for the routing tables to be updated took far longer than either the DSM user interface or my patience expected. I had restarted the box a couple of times in the interim, hoping that it would take, but I think I might have disrupted the population of the tables, and the DiskStation simply restarted the process again. I think that patience is far more useful a tool in this instance than I first thought.

As I said, I have not attempted these fixes myself hence no screenshots , but readers were kind enough to offer additional suggestions and if it helps you in your hour of need, please let me know. Upon further investigation I see there were some bugs in the past with a disappearing gateway, primarily if the connections were bonded during the upgrade.

It was a bug that should be resolved now and should not typically happen. Now, it is true that one of the Synology DiskStations I was updating had bonded network interfaces, but that was also the one that fixed itself faster. True, I was updating to DSM 6. Even so, after I run the backup tests in a mixed DSM 5. I did read some additional messages in the user forums that permissions problems could be to blame for this issue, but it was not so in my case.

My gut tells me that is a different issue — the problem here is connecting to the Synology servers in order to determine whether there is an update, and if so which one. Permissions issues would likely only result once it has been determined that an update exists and then issues would arise when trying to save it to a local directory on the Synology. In any case, I hope that this is somewhat helpful to people including myself.

Please feel free to offer another solution to help out. If you want to see more posts like this — about Synology or anything else to do with storage — please consider sponsoring future content. Or, if you simply want to show your appreciation for helping you with this problem, you can do a one-off donation.

All moneys go towards creating content. Thanks for letting me know. I will second the timezone being the issue. DSM stopped updating or connecting to the Internet all of a sudden. I had already gone through manually inputting the DNS, Gateway, etc info, rebooted multiple times, blew away network configs and recreated, etc and nothing worked.

Stumbled upon this thread and was scanning through, when I saw the NTP comment. Everything started working with regard to Internet connectivity immediately. I wish I would have noticed what the previous time was set for before syncing.

Glad it was helpful! Thanks for this brilliant guide. I followed it step by step and it worked a treat. I updated to the google servers and left my gateway as the alternative. Unfortunately — it just works half-way. My system update says it has the latest update. But NON of the not already installed packages in the Package center are shown. All I get after the above tutorial and wait is:. A couple of things troubleshooting blind here, please forgive anything you may have already tried: Since trying the steps above… Have you restarted the Synology?

Have you checked the cables? Is it possible you may have skipped any steps? This guide helped me restore connectivity in minutes! The default gateway info. Worked like a charm, very first try — thanks for saving my sanity!! I hit apply, then try to exit and it says I have unsaved changes. Clicking off and back on, it works. Looks to be intermittent.

I was changing it to google to see if the timing change fixes things. After many many attempt, the changes finally took. Previously, I hit apply and it looked like it applied, but clicking out, it says I had unsaved changes.

Would anyone recommend removing the bond interface and resetting it? Or trying a beta 6. Also to mention, it takes like 5 minutes for me to be able to log into the DSM. Or at least it seems like 5 minutes from boot. I really think I have a corrupt DSM install, but there is no way to do a reinstall. I gave up troubleshooting. Looks like something went corrupt as I kept getting connection resets. The logs I was able to get showed a bunch of errors with the bond interface that I had. I think I read something about the DSM updates having a bug with a bond interface.

Anyway, I did a reset and re-installed the OS. Upgraded to the latest and looks to be working well now. I need help too, my DSj is doing the same thing, reset it yesterday, initially found the nas in DSAssistant, tried the dchp and manual ip set up, both said error in configuring diskstation.

Still got config error. Tried to connect and reset again today but connection failed, cant find in finder or Ds Assistant. Tried another reset, but now literally nothing happens, no beep, nothing. Any ideas for starters.. I have 4 2tb disks so no option to back up first sadly. Did have to do same last year and it survived so…. It sounds like there might be more going on here than a setting not being taken. Wait 30 seconds, and then plug it back in. Keep in mind, that it can take up to 5 minutes no joke for it to run its internal diagnostics and be seen on the network.

I followed all the suggestions and the DNS error, as well as failed network services test fails, and could not browse new packages persisted. I rebooted after every change. I changed from static to dynamic and back to static to clear my errors without rebooting. Did this happen after an upgrade, or did it just start happening?

Really helped me out. Really loved your sense of humour through-out. Nicely done that man!!! Thanks so much for the article. Then I lost connection and not able to connect to the Ds The default web interface There are no folders, control panel or anything else. I hate when something like that happens. Or in an arp?

Have you tried that? You are the first blogger I have ever contributed money to. I hope great sponsorships come your way because I was really grateful for all of the helpful and valuable information you shared. If I were in a better financial situation, I would give more. I read A LOT of tech articles trying to learn about tech, and yours is really great.


The last days I tried to set up a local DNS cache thing on my Synology, just to use up the CPU a bit more. Why? Because once the request is in the cache, it’s much faster:). So, here is a simple tutorial to set up the DNS on your Synology box. Aug 08,  · Hi, I'm trying to use my Synology DS+ DNS Server package to setup our office internet DNS thru it, rather than using Comcast DNS servers. Reason being I want to set some of my own internal DNS rules. Network Attached Storage (NAS) for home and business, Synology is dedicated to provide DiskStation NAS that offers RAID storage, storage for virtualization, backup, NVR, and mobile app support.