Sunday, 27 April 2014

Adding a Mail Server Record on DNS Server

Two commands that can be used to accomplish this are below.

Add-DnsServerResourceRecordMX - This will add an MX resource record type to the DNS database.

DNScmd is the command-line tool for the DNS server. It can be used to configure many aspects of the DNS server, including creating new records. For example, the following command would add an MX record for server1.corp.net with the IP address 192.168.1.10 to the DNS server:

Dnscmd /recordadd corp.net server1 mx192.168.1.10

No comments:

Post a Comment