1

I need to access a specific server and it just responses to connections with a specific DNS server. So before connecting to that website I need to set my system DNS servers to custom IPs. That's ok, but now I'm working on a python script with a requests module and I want to access that server. How can I set custom DNS IPs to requests session to do GET function with those DNS servers? I should say that I just need a JSON file from that server, so It's just exhausting to change DNS servers every time.

soroushamdg
  • 191
  • 1
  • 2
  • 14

0 Answers0