This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18123] New: allow wildcards in /etc/hosts


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]