Hi @Shjpr9 ,
In issue #779, you mentioned a small script that resolves a given domain using a list of DNS servers and then looks up its IP info (ASN, country) via an internal website. You also showed a successful example for deno.com:
Enter the domain: deno.com
Resolver: 217.218.155.155 | 65.97ms
Answer(s):
69.67.170.170
ASN Name: AMAZON-02
I am in a situation where I need to set up fronting_groups for several domains (like val.town, deno.com, fly.io, huggingface.co), but I face two major problems:
- DNS is heavily poisoned/misbehaving on my ISP, so I can't reliably resolve IPs.
- My ISP blocks direct connections to most CDN IPs, so I need to test many IPs to find a workable one.
Your script would be a huge help because it can:
- Bypass my ISP's DNS issues by using alternative resolvers.
- Tell me the ASN of each IP, so I can pick a benign SNI (like
aws.amazon.com for an IP in AMAZON-02).
Could you please share the script (or the method behind it)? Even a minimal version that just prints a few IPs with ASN for a given domain would be enough. If you can't share the script itself, maybe you could give some guidance on how to replicate it (e.g., which DNS servers to use, which IP lookup API it calls). I'd be very grateful for any help.
Thank you!
Hi @Shjpr9 ,
In issue #779, you mentioned a small script that resolves a given domain using a list of DNS servers and then looks up its IP info (ASN, country) via an internal website. You also showed a successful example for
deno.com:I am in a situation where I need to set up
fronting_groupsfor several domains (likeval.town,deno.com,fly.io,huggingface.co), but I face two major problems:Your script would be a huge help because it can:
aws.amazon.comfor an IP in AMAZON-02).Could you please share the script (or the method behind it)? Even a minimal version that just prints a few IPs with ASN for a given domain would be enough. If you can't share the script itself, maybe you could give some guidance on how to replicate it (e.g., which DNS servers to use, which IP lookup API it calls). I'd be very grateful for any help.
Thank you!