.hosts
file with your test plan. It doesn't matter what you call the file, as long as it has the extension .hosts
for example, demo.hosts
​address=/#/1.2.3.4
will always return 1.2.3.4
for any query not answered from /etc/hosts or DHCP and not sent to an upstream nameserver. We use Google's nameservers for resolution 8.8.8.8
and 8.8.4.4
​address=/example.com/
returns NXDOMAIN for example.com
and all its subdomains.address=/loadtest-staging.flood.io/52.89.198.212
will return 52.89.198.212
for loadtest-staging.flood.io
​