The default gateway is used for DNS resolution. If your default gateway is not also your DNS server, which appears to be in this case, based on your screenshot, you can specify the IP address of your DNS server in the gateway configuration dialog which you have posted above.
Hope that helps!