File/setiings akin to Windows' hosts file?

Currently reading
File/setiings akin to Windows' hosts file?

20
3
NAS
DS1817+, DS1821+
Operating system
  1. Windows
Mobile operating system
  1. Android
Is there any way to define a local "DNS" resolver for a few domains? Like the %WINDIR%\System32\drivers\etc\hosts on Windows?

I don't want to install a complete DNS server on the NAS, but simply want to define a local setting for a few domain names that will be picked up on that machine only.

It can be a file like hosts or a GUI interface in DSM (perfer the latter, but can work with the former).
 

Rusty

Moderator
NAS Support
4,378
1,269
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
will be picked up on that machine only
So this is for NAS usage (as a machine role)?

/etc/hosts file via SSH might do the trick if this is what you are looking for.
 
20
3
NAS
DS1817+, DS1821+
Operating system
  1. Windows
Mobile operating system
  1. Android
I'm not sure I understand what "machine role" is, but if the /etc/hosts file is used identically to the %WINDIR%\System32\Drivers\etc\hosts on Windows, then yes, that's the one I'm looking for.

It's only meant for use on the local NAS, and should be looked into before making an outside DNS lookup (ie. so that I can override a DNS lookup on that NAS only).
 

Rusty

Moderator
NAS Support
4,378
1,269
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
I'm not sure I understand what "machine role" is, but if the /etc/hosts file is used identically to the %WINDIR%\System32\Drivers\etc\hosts on Windows, then yes, that's the one I'm looking for.

It's only meant for use on the local NAS, and should be looked into before making an outside DNS lookup (ie. so that I can override a DNS lookup on that NAS only).
Try with the location I have written then.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

By Default, is off for everyone. I turned it on and behaves much better for my usage (I'm using it for...
Replies
11
Views
278
This just in from Synology no real reason why it doesn't have "File Requests" but I am not supprised I got...
Replies
1
Views
166
Im sorry , the 3rd party App is actually name DS File Browser Which looks exactly as the official Syno app...
Replies
4
Views
302
  • Question
Yeah, that's what I was afraid of. Well in that case I'll probably leave it as is. Thanks.
Replies
2
Views
302

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top