resolv.conf

In an app development I needed to use my system resolvers which is different from my ISP default resolver, and Python keeps taking my ISP resolver. I decided to put up this simple function to get resolvers for me in /etc/resolv.conf, here is it: https://github.com/donjajo/py-world/blob/master/resolvconfReader.py I hope this helps

Read More Parsing and Fetching DNS Resolvers in /etc/resolv.conf Using Python

I’m not good at using my ISP’s DNS Servers because last time I did, it wasn’t always up. I browse on a mobile network, so decided to be using another DNS servers which are always up all time… I use either Google DNS or OpenDNS and changing DNS servers in Linux is editing the /etc/resolv.conf…

Read More How to Make Changes in /etc/resolv.conf Permanent