public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18123] New: allow wildcards in /etc/hosts
@ 2015-03-12 15:43 god12 at niksula dot hut.fi
  2015-08-22 20:39 ` [Bug network/18123] " jsm28 at gcc dot gnu.org
  2015-08-24  9:44 ` jsm28 at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: god12 at niksula dot hut.fi @ 2015-03-12 15:43 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18123

            Bug ID: 18123
           Summary: allow wildcards in /etc/hosts
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: god12 at niksula dot hut.fi
                CC: drepper.fsp at gmail dot com

Currently only trivial entries are allowed in /etc/hosts:
0.0.0.0 s.adframesrc.com
0.0.0.0 p.adframesrc.com
...
are allowed in /etc/hosts
For pinning all the subdomains to a give ip one have to run DNS server which
seems like huge waste of resources for such a simple job.

Would be much better to extend glibc to parse simple wildcard entries whne
performing name resolution so the entries above could be substituted with
single line:
0.0.0.0 *.adframesrc.com

This would simplify configuration and maintenance (no need to run dedicated
daemon) in many cases, not only ad-blocking.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-24  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 15:43 [Bug libc/18123] New: allow wildcards in /etc/hosts god12 at niksula dot hut.fi
2015-08-22 20:39 ` [Bug network/18123] " jsm28 at gcc dot gnu.org
2015-08-24  9:44 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).