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

DNS lookup doesn't find /etc/hosts entries #104

Open
tennox opened this issue Nov 11, 2022 · 0 comments
Open

DNS lookup doesn't find /etc/hosts entries #104

tennox opened this issue Nov 11, 2022 · 0 comments

Comments

@tennox
Copy link
Contributor

tennox commented Nov 11, 2022

Hi, I'm using linkcheck in a GitLab CI pipeline (great fit for that, thanks :) ), in which the gitlab runner sets the services ip in /etc/hosts:

172.17.0.3	page a38b629b0x30 runner--azerasq-project-20139812-concurrent-0-d873acae5x916b84-registry.gitlab.com__txlab__liebeskunstwerk-0

Sadly, linkcheck -e http://page doesn't pick it up

http://page (connection failed)

while curl http://page works

My current workaround is using this:

- IP="$(getent ahosts page | cut -d' ' -f1 | sort -u)"
- "linkcheck -e http://$IP"

Is it possible that linkcheck can incorporate this? Got no idea about Dart sadly :/

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

1 participant