6.7 Configure Split DNS
The following describes a DNS configuration using Windows Server 2019 as an example.
If not already present, install the DNS service.
Then you can create a new DNS zone with a corresponding host entry: FQDN > Internal IP address of the SwyxServer.
|
The DNS zone name must match the FQDN specified in the TLS certificate.
|
To install the DNS Manager, if necessary
1 Open the Server Manager.
2 Select in the menu Manage | Add Roles and Features.
3 In the step Installation Type select Role-based or feature-based installation and click Next.
4 Select the desired destination server and click on Next.
5 As Server Role select DNS Server and click on Next.
6 Click Add Features.
7 Confirm the further steps of the installation with Next (Continue) and Install.
8 Click Close.
To create a new DNS zone
1 Open the DNS manager: Win+R | dnsmgmt.msc
2 In the server list, select the desired server.
3 In the context menu of Forward Lookup Zone select New Zone...
4 Click Next, Primary Zone, Next.
5 Enter the name of the zone.
Z. E.g. my.fqdn_name.net
6 Click Next.
7 Keep the standard parameters and click Next.
8 Click on Finish.
To create a host entry
1 In the context menu of the DNS zone select New Host (A or AAA...).
2 Enter under IP address enter the internal IP address of the SwyxServer.
3 Click Add Host.
The new entry was added. You can test your configuration.
To test your DNS configuration
1 Open the command line on a client computer in the local network.
2 Enter the command "nslookup <FQDN of your network>":
E.g.: nslookup my fqdn_name.net
The internal IP address of the SwyxServer is displayed.