Views
A domain name server can present different information to different clients by implementing views. This function, sometimes called spilt-horizon DNS, can improve security and privacy management of DNS zone records. For example, you have one domain name, but wish to provide different responses to queries from external and internal sources. In such cases, you can create different views with separate resource records.
Managing Views
Before creating and managing views, you should create at least one zone. See Zones for more information.
To create a new view:
- On the Views page, click Create.
- On the General tab of the dialog box, edit the following settings:
- View name: Enter a name for the view.
- Limit source IP service: This option allows you to specify which users can access the view resources, such as zone files or forwarder servers. Click the Source IP List button to specify hosts or subnets.
- Enable forwarders: This option allows you to redirect recursive queries resolved by this view to forwarder servers. For more details regarding forwarders, please see Resolution.
- Go to the Select Zone tab.
- Select zones to add to the view. One view cannot include multiple zones with the same domain name.
- Click OK to save settings.
Note:
- Resolution services must be enabled for the forwarder settings here to be applied.
- If forwarders are disabled here, the system applies the forwarder settings specified on the Resolution page.
- View names can include up to 32 Unicode characters, including letters, numbers, as well as dashes, underscores, and dots.
To edit views:
- Select a view.
- Click the Edit button.
- A dialog appears where you can edit view name, source IP list, forwarder, zone settings. See above for more details.
To delete views:
- Select the view you want to delete.
- Click the Delete button.
View Priority
When a client sends a query, Synology Router decides which view the source address of the client belongs to according to view priority. If a source address matches the criteria of two views, Synology Router decides it belongs to the view with higher priority.
For example, you create three views for the following source addresses: 1) external network hosts; 2) regular local network hosts; and 3) your personal host within the local network. The source address of your personal host matches the criteria of the latter two views. In this case, the view for your personal host should be given higher priority than the view for regular local network hosts. Otherwise, your personal host will be treated as a regular network host.
To edit view priority:
- Select the view you want to change.
- Click the Up and Down buttons to change its priority.