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

Use a custom /etc/hosts file to resolve hostnames #6

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

uli-heller
Copy link

... for example: java -jar jcurl-all.jar -n my-hosts http://google.de

my-hosts:

127.0.0.1 google.de

@eeichinger
Copy link
Owner

a bit late I know, but many thanks for your PR @uli-heller. I'll have to review it and would love to see a few tests for the name resolver. But it's a great idea, I'd love to see this integrated!

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

Successfully merging this pull request may close these issues.

Allow overriding hostname resolution (e.g passing custom /etc/hosts file)
2 participants