allow configuring the port
[dyn-nsupdate.git] / server-scripts / 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"]