Added support for /etc/hosts
attozk opened this issue · 10 comments
reactphp/reactphp#225 should be ported over
+1
I think we're ok to read the filesystem even if it blocks in the initialization phase, as long as it's not once the loop has entered it's run phase.
amen
Big +1 for getting this in, both for convenience ("localhost" etc.) and for Docker containers!
I've started looking into this a few weeks ago, but have postponed this for now because the DNS component is currently undergoing some major architectural refactorings.
Yes please!
Any updates here?
+1 for getting support for /etc/hosts
+1
Hi everyone, just wanted to say: this feature is very much needed. It's quite counter-intuitive the way it works now, and it has cost me several hours to find out what the problem was.
Just in case someone is using Docker containers and wants to connect to them using ReactPHP DNS: don't use the public 8.8.8.8
DNS server, but the embedded Docker DNS server, which is as far as I can tell always available at 127.0.0.11
.
@matthiasnoback I've kicked off a PR (#52) to make that happen.
@WyriHaximus Excellent!