<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,</div><div><br></div><div><div><div dir="ltr"><blockquote type="cite"><blockquote type="cite">Post the entire file without shortening or removing any line. If it complains</blockquote></blockquote></div><blockquote type="cite"><div dir="ltr"><blockquote type="cite"><span>about parse error, there must be something wrong in it, but you don't notice</span><br></blockquote><blockquote type="cite"><span>or don't think it is wrong. People on the mailing list can check if it's ok,</span><br></blockquote><blockquote type="cite"><span>but again only if you post the entire file (copy-paste or attach).</span></blockquote><blockquote type="cite"><span></span></blockquote><span></span><br><span>С уважением,</span><br><span>Станислав</span><br><span></span><br><div><resolv.conf></div></div></blockquote><div><br></div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">There could be a few things wrong here.</span><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Try setting ServerDNSResolvConfFile to /dev/null,</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">or a world-readable empty file, and see if your problem goes away.</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">If it does, here are some common issues to check:<br><div><br></div><div>What are the permissions on /etc.resolv.conf ?</div><div>Can the tor user read the file?</div><div><br></div><div>Is the file a symlink?</div><div>(macOS does this, not sure if some Linux distros do as well)</div><div><br></div><div>Are there any hidden characters in the file?</div><div>Does it use Unix newlines?</div><div><br></div><div>Tor uses libevent's evdns_base_resolv_conf_parse() to parse the file.</div><div><a href="https://libevent.org/doc/dns_8h.html#a7e3a053e25ae7c045944a5db0947babb">https://libevent.org/doc/dns_8h.html#a7e3a053e25ae7c045944a5db0947babb</a></div><div><br></div><div>How old is your version of libevent?</div><div><br><div dir="ltr">T<div><br></div><div>-- </div><div>teor</div><div>----------------------------------------------------------------------</div></div></div></div><br></div></div><div><br></div></body></html>