Ifconfig /
Change
To find your IPv4 address:
$ dig -t a @coconut.ircnow.org username.coconut.ircnow.org
To find your IPv6 address:
$ dig -t aaaa @coconut.ircnow.org username.coconut.ircnow.org
IPv4 Address | IPv4 Gateway | IPv6 Address | IPv6 Gateway |
---|---|---|---|
38.81.163.xxx | 38.81.163.129 | 2602:fccf:1:xxx::/64 | 2602:fccf:1::1 |
Checklist of networking topics to re-read:
Action | Description |
---|---|
Static Networking | Update ifconfig, /etc/mygate, and /etc/hostname.if0 |
NSD | Update the IPv6 addresses in nsd.conf and the zone file |
ZNC | Update the IPv6 addresses in znc.conf's listeners |
ngircd | Update the Listen = IP addresses in ngircd.conf |
Unbound | Update the outgoing-interface in unbound.conf |
Ping | Troubleshoot networking using ping |
Netcat | Troubleshoot networking using netcat |
Stale hostname
If you ever change your host's IP address, /etc/hosts may be intercepting the name lookup and giving you the old IP address.
Make sure there is no entry in the /etc/hosts files that is causing your machine to use the old IP.