Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-H "Host:x.y.z" http://MyIP/ is not using the provided IP and is going through the DNS #181

Open
oah4333 opened this issue Jul 31, 2020 · 1 comment

Comments

@oah4333
Copy link

oah4333 commented Jul 31, 2020

Hi
I am using Siege 4.0.5 on centos 7. when I issue:
siege --delay=0 -p -t2S -c1 -H "Host:x.y.z" http://Server's-IP/
The request is still going through the DNS and hence cloudflare. The whole reason I am using the server's IP and the host-header is to circumvent cloudflare i.e., the siege --delay=0 -p -t2S -c1 -H "Host:x.y.z" http://Server's-IP/ is behaving as if I have typed:
siege --delay=0 -p -t2S -c1 http://x.y.z/

I tried the same header with apachebench and it is working just fine (it is hitting the server via the specified IP address) and then branches tot he host (as expected).

@scarolan
Copy link

Same problem here, even when I use an IP address it hammers the crap out of my DNS server. I tried putting a short hostname in the /etc/hosts file but it still insists on querying external DNS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants