sgsn: Allow to specify the DNS servers that should be used

If no server is specified the default list will be used. This
allows to separate the servers for the local network and GRX
from each other.
diff --git a/openbsc/src/gprs/sgsn_ares.c b/openbsc/src/gprs/sgsn_ares.c
index 825b01c..c4012a4 100644
--- a/openbsc/src/gprs/sgsn_ares.c
+++ b/openbsc/src/gprs/sgsn_ares.c
@@ -157,10 +157,16 @@
 
 	optmask = ARES_OPT_FLAGS | ARES_OPT_SOCK_STATE_CB;
 
-	/*| ARES_OPT_SERVERS ... TODO..*/
+	if (sgsn->ares_servers)
+		optmask |= ARES_OPT_SERVERS;
 
 	ares_library_init(ARES_LIB_INIT_ALL);
 	rc = ares_init_options(&sgsn->ares_channel, &options, optmask);
+	if (rc != ARES_SUCCESS)
+		return rc;
+
+	if (sgsn->ares_servers)
+		rc = ares_set_servers(sgsn->ares_channel, sgsn->ares_servers);
 
 	return rc;
 }