The DNS server is assigned by your DHCP server, if you need to edit the DNS settings do that on your local DHCP server.
The IP address is not hardcoded in the firmware. The DNS servers are not hardcoded in the firmware either, our devices will get their DNS settings from the local gateway or DHCP server.