diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-25 00:16:26 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-25 00:26:56 +0200 |
commit | e4117c2e2df1b6c55e7324518eb4d5708e5522fe (patch) | |
tree | 16ca903923a1b8af3b699b295f74c1a0cea3c295 /src/resolver.c | |
parent | 36df936e684d2fe90176c3ad86eab9c19af15012 (diff) | |
download | connman-e4117c2e2df1b6c55e7324518eb4d5708e5522fe.tar.gz connman-e4117c2e2df1b6c55e7324518eb4d5708e5522fe.tar.bz2 connman-e4117c2e2df1b6c55e7324518eb4d5708e5522fe.zip |
Remove EDNS0 option
Many routers block EDNS0 DNS requests and that leads to a non working
DNS resolver for ConnMan. This option can now be removed and have dnsproxy
fallling back to DNS over TCP for big DNS replies.
The optimal solution would be to keep this option and disable it on the fly
for nameserver paths rejecting EDNS0 packets. Unfortunately ConnMan is not
able to detect those paths at the moment and so simply falls back to DNS
over TCP.
Diffstat (limited to 'src/resolver.c')
-rw-r--r-- | src/resolver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolver.c b/src/resolver.c index f3faacdf..eb080ba5 100644 --- a/src/resolver.c +++ b/src/resolver.c @@ -389,8 +389,7 @@ static int resolvfile_export(void) unsigned int count; mode_t old_umask; - content = g_string_new("# Generated by Connection Manager\n" - "options edns0\n"); + content = g_string_new("# Generated by Connection Manager\n"); /* * Nameservers are added in reverse so that the most recently |