Quantcast
Channel: Overriding DNS entries per process - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Matija Nalis for Overriding DNS entries per process

Put in /tmp/ha:web localhostthen you cam call curl with: HOSTALIASES=/tmp/ha curl web:8080Format of HOSTALIASES is explained in hostname(7) - it is not a same thing as /etc/hosts !If you can edit...

View Article



Overriding DNS entries per process

I'm trying to have local tests working without running consul as DNS server. Which means I'm trying to map web.service.consul to localhost.I've tried creating HOSTALIASES file but it seems it doesn't...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images