"Get-DnsAndIP.ps1" is a script to get a overview over deployed DNS records in a Skype for Business deployment. The script is made up of to main "sections".
The first section, will look for configured pools, servers and service URLS, and perform lookups on those names.
The second part will look for a set of "Best Practice" FQDN's associated with client or federation functionallity.
These are the initial services the script will perform lookups on:
- Configured Pools
- Configured Servers
- SIMPLE URLS deployed Internally
- SIMPLE URLS deployed Externally
- Internal web URL
- External web URL
- Edge Service FQDNs
- WacServer URL deployed Internally
- WacServer URL deployed Externally
- Internal Lyncdiscover for Mobility
- External Lyncdiscover
- Internal _sip._Tls resource records
- External _sip._Tls resource records
- Sip Federation resource records
- Sip record internally
- Sip record Externally
- XMPP resource records
It is important to know this script does not verify your configuration, nor does it correct the configuration. It simply gather all that is configured, to make it easier to detect DNS errors.
There are three different scenarios of the outcome of this script:
- An expected record is found: It will then be stored in the table and written to the report (NB: just because a record is found, doesn't mean it's right)
- An "expected" record is not found: It will then be stored in the table and written to the report, but marked as "Failed" or "Investigate". (NB: A Failed record doesn't mean it's wrong. It might have been left out on purpose).
- An unexpected record is found: It will then be stored in the table and written to the report, but marked as "Investigate".
- This script is for both Enterprise and Standard Edition Server.
- This script has only been tested on SfB server
- The script has only been run and testet on single site/pool installations, so use caution when trying to do otherwise.
- The script should be able to run without any modification.
- The script must be run on a server where Lync PS is available.
- I highly recommend you test the script in your Lab, before running in your production environment
- The script supports IPv6
- The script will try to autodiscover internal DNS server if none is set
- The script will try to use google dns server 22.214.171.124 as an external source if none is set
V 1.0 - June 2015 - INITIAL RELEASE, read description for details
V 1.1 - April 2016
- Added switch to enable IPv6 (-addIPv6)
- Added autodiscovery of internal DNS server
There are no known issues at the moment, comments welcome.
Planned updates/pending request:
There are no pending requests or planned updates.