The purpose of this project is to display the IP address of the website you are visiting simultaneously as you navigate, and display the country's flag that the server belongs to.
While there are other full extensions that are similar, this project point is to have dns lookup based on your own dns servers and not some 3rd party dns server which could jeopardize the integrity of the dns lookup.
- the entension part will be up on google-chrome's extension site available for download once the flags are mapped to the servers.
For the meanwhile follow the instruction to run on google chrome:
- clone the repo and place in a prefered location.
- open chrome://extensions in google chrome and enable
developer mode
- click on
Load unpacked extension...
andopen
the folder you cloned from the repo.
- open a terminal window and run the dns.js file using the following command
node dns.js
- you are done! start navigating websites and watch the ip address appear at the bottom right of the screen.
Note:
- Flags will be added very soon.
- a dns-cache.txt file will appear, that stores your dns lookups. this will be used to map the ip's to the flags and prevent unnecessary redundant calls. This file will be set to be deleted every 48 horus.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D