add checkip script and a client to update the IP
[dyn-nsupdate.git] / checkip
1 #!/usr/bin/python
2 import os
3
4 # print headers
5 print "Content-Type: text/plain"
6 print ""
7
8 # print content
9 print os.environ["REMOTE_ADDR"]