DNS microsoft essere autoritativo per un singolo host
Dns – Configurare Zona non autoritativa
Nel mio caso e’ servito a creare il nome dns interno per il mail server per la risoluzione nella lan . Per gli stessi client collegati fuori dalla lan invece utilizzeremo lo stesso nome dns, questa volta interrogando il provider. Dall’esterno la risoluzione del nome dns punta l’indirizzo ip pubblico del mail server. Tutti gli altri record del dominio invece verranno risolti esternamente non essendo autoritativo il mio server dns per quei record. Risulta così autoritativo per un solo singolo host.
Sul server dns Microsoft creare come “zona” in “zone di ricerca diretta” il nome DNS completo, ad esempio se si deve creare il record mail-server.miodominio.it creare direttamente una nuova zona che si chiama mail-server.miodominio.it e creare un record A blank che punta all’indirizzo interno che serve.
In questo modo tutti gli altri record all’interno del dominio miodominio.it non verranno risolti internamente ma chiesti esternamente.
Breve guida che ho trovato e riporto
Here are the steps to be Authoritative for a Single Host Name in DNS
- Start the DNS Admin console.
- Create a New Forward Lookup Zone.
- The name of the domain you are establishing in this case is the host name, not the domain name. For example, specialHost.domain1.com
- Complete the creation of the zone.
- You will now see that the zone has been created called “specialHost.domain1.com” with two records created by default: an NS record and a SOA record.
- Next, create a new Host (A) record.
- This record has no name (leave it blank).
- Provide the IP address for the resource, specialHost.domain1.com for the blank record.
- Done!
From your internal network, you will still be able to resolve all host names in the domain1.com domain because your DNS server is not “Authoritative” for the zone. However, when your DNS server receives a query for specialHost.domain1.com, it will respond and not forward the query out to the internet. Of course you understand that specialHost is simply a generic host name that we are using in this summary as an example. In your case if you wanted to control “www”, you would have created the zone called, www.domain1.com.
Autore: Fabio Querzè