Hi GD
To forward requests for domain.net that are not recognized by server1 to the router and then to the actual website hosted elsewhere, you can follow these steps:
Configure Conditional Forwarding on the Active Directory DNS server (server1): a. Open the DNS Manager on server1. b. Right-click on the server name and select "Properties." c. Go to the "Forwarders" tab. d. Add the IP address of your router as a forwarder. e. Ensure that the option "Do not use recursion for this domain" is not selected. f. Click "OK" to save the changes.
Create a new DNS Zone on the Active Directory DNS server (server1): a. In the DNS Manager, right-click on "Forward Lookup Zones" and select "New Zone." b. Choose "Primary zone" and click "Next." c. Enter "domain.net" as the zone name and click "Next." d. Select "Do not allow dynamic updates" and click "Next." e. Choose the appropriate zone file storage location and click "Next" and then "Finish." f. The new zone for "domain.net" should now appear in the Forward Lookup Zones list.
Configure a wildcard DNS record in the newly created zone on server1: a. Open the DNS Manager and navigate to the zone for "domain.net." b. Right-click on the zone and select "New Host (A or AAAA)." c. Enter "*" (without quotes) as the name and specify the IP address of your router. d. Click "Add Host" and then "OK" to save the wildcard record.
Configure the router to forward incoming requests to the actual website: a. Access your router's configuration interface. b. Look for the Port Forwarding or NAT (Network Address Translation) settings. c. Set up a port forwarding rule that forwards incoming requests on port 80 (HTTP) and/or port 443 (HTTPS) to the IP address of the actual website hosting server. d. Save the changes and exit the router configuration.
With these steps, any request for domain.net that is not recognized by server1 will be forwarded to the router, and the router will redirect the request to the actual website hosted elsewhere. The wildcard DNS record ensures that any subdomain under domain.net will also be forwarded to the router for redirection.