Getting Started with PolarDNS

By default, when the PolarDNS server starts, it listens on all network interfaces via UDP and TCP on port 53 (0.0.0.0:53), ready to respond to DNS queries.

You can test it locally by asking the following sample query, which should always resolve to something.

Ask in UDP mode:

dig always.yourdomain.com @127.0.0.1

Ask in TCP mode:

dig always.yourdomain.com @127.0.0.1 +tcp

You should receive an A record with the 2.3.4.5 IP address, similarly like in this screenshot:

PolarDNS example usage

This indicates that the server is working properly.