looterz / grimd

:zap: fast dns proxy that can run anywhere, built to black-hole internet advertisements and malware servers
MIT License
1.38k stars 109 forks source link

snake that bites its own tail : grimd -update #1

Closed jorisd closed 8 years ago

jorisd commented 8 years ago

Hi,

Thanks for creating grimd ! A little bit of context, here's my setup : a linux raspi with golang 1.6.2 :

BIND9:

GRIMD :

resolv.conf it is set to query 127.0.0.1 (bind9)

The problem : When I start grimd -update, it tries to lookup blacklists and so it makes DNS request to my bind9, which in turn tries to forward grimd's DNS requests to grimd.

Since grimd is starting but not fully started, it fails. The snake bites its own tail.

Would it be possible to configure grimd to perform DNS requests on startup to 8.8.8.8 instead of 127.0.0.1 ?

Thanks

looterz commented 8 years ago

Thanks for the report! This should be fixed as of 8f9343cfaca405a6ebc7c0a1ad2d93101530ab4a

jorisd commented 8 years ago

Perfect, it works ! :+1:

ghost commented 8 years ago

Hi mistr looterz do you have a skype adress or a mail? I need to talk with you.

ghost commented 8 years ago

?

looterz commented 8 years ago

@Ira1123 you can direct-message me on twitter at https://twitter.com/looter__