Skip to Content.
Sympa Menu

discuss - Re: [opennic-discuss] Generated resolv.conf

discuss AT lists.opennicproject.org

Subject: Discuss mailing list

List archive

Re: [opennic-discuss] Generated resolv.conf


Chronological Thread 
  • From: Jeff Taylor <shdwdrgn AT sourpuss.net>
  • To: discuss AT lists.opennicproject.org
  • Subject: Re: [opennic-discuss] Generated resolv.conf
  • Date: Wed, 03 Jul 2013 09:14:40 -0600

I made an update to the script today to generate a complete resolv.conf file in one shot, using 'opennic.glue' for the domain and search entries. As it stands now, you can replace your resolv.conf file directly with the generated output now.

For those who ONLY want the nameserver entries, I have added a new variable (mode) to limit the output...
# wget -qO- "http://opennicproject.org/geoip/geotxt4.php?mode=ns";


Regarding an ISP hijacking the output... Yes, it would be possible, but who would actually go to that effort? However it is still a good idea to have an https method available, so I will look into that and see if I can get it set up.


On 07/03/2013 12:16 AM, Paladin wrote:
Hi,
just MHO:

On Fri, Jun 28, 2013 at 03:11:55PM -0600, Jeff Taylor wrote:
[..]
# curl "http://opennicproject.org/geoip/geotxt4.php";
# wget -qO- "http://opennicproject.org/geoip/geotxt4.php";
[..]
Well, this certainly works. But too be little paranoid,
downloading like this via cron doesn't seem safe to me..
ISP could supply it's own file since it's not https.

BTW: Why it's not https?

P.




Archive powered by MHonArc 2.6.19.

Top of Page