Allow set external IP address

For the servers setup behind a router, we need to be able to specify the
public IP address for the DNS proxy to route to.