Skip to content

jjamor/ifconfig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myip.dramor.net: Simple IP address lookup service

A simple service for looking up your IP address. This is the code that powers http://myip.dramor.net

Basic usage

The usual suspects

$ curl myip.dramor.net
127.0.0.1
$ wget -q -O - myip.dramor.net
127.0.0.1

BSD fetch

$ fetch -q -o - myip.dramor.net
127.0.0.1

Pass the appropriate flag (usually -4 and -6) to your tool to switch between IPv4 and IPv6 lookup.

Features

  • Easy to remember domain name
  • Supports IPv4 and IPv6
  • Open source
  • Fast
  • Supports typical CLI tools (curl, wget and fetch)
  • JSON output (optional)

Why?

  • To scratch an itch
  • An excuse to use Go for something
  • Faster than ifconfig.me and has IPv6 support

About

IP address lookup service written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 59.8%
  • HTML 26.5%
  • SaltStack 11.2%
  • Makefile 1.9%
  • Shell 0.6%