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

Status: check how many dns records are returned for vpn.lokun.is #6

Open
benediktkr opened this issue Sep 10, 2014 · 0 comments
Open

Comments

@benediktkr
Copy link
Owner

Check if vpn.lokun.is returns the correct amount of records.

Currently i'm using socket.gethostbyname() to make a dns request. It just returns one ip as a string. But socket.gethostbyname_ex() returns them all.

>>> socket.gethostbyname_ex("vpn.lokun.is")
('vpn.lokun.is', [], ['46.149.24.10', '46.149.20.226', '46.149.20.235'
>>> socket.gethostbyname_ex("vpn.lokun.is")[2]
['46.149.20.235', '46.149.24.10', '46.149.20.226']

Status mappings

  • red: zero or one record
  • yellow: two records (one missing)
  • green: 3+ records
@benediktkr benediktkr changed the title Check if vpn.lokun.is returns the correct amount of records Status: check how many dns records are returned for vpn.lokun.is Sep 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant