eglibc: fix dns with broken routers

ref #2319