Blame
Date:
Wed Oct 12 04:00:17 2022
UTC
Message:
Daily backup
11
2021-12-17
text=(:title My IP Address:)%0a%0a!! Use DNS%0a%0aTo determine your current public IP address, you can run:%0a%0a[@%0a$ dig +short myip.opendns.com @resolver1.opendns.com%0a@]%0a%0aor:%0a%0a[@%0adig TXT +short o-o.myaddr.l.google.com @ns1.google.com%0a@]%0a%0aThis will tell you at least one of your public IP addresses.%0a%0a!! Check DNS records%0a%0aIf you have DNS setup, you can also run%0a%0a$ host username.example.com%0a%0aYou'll want to replace @@username.example.com@@ with your real domain.%0a%0a!! Check ifconfig%0a%0aIf you have multiple IP addresses, you might find more information using ifconfig:%0a%0a[@%0a$ ifconfig%0a@]%0a%0aLook for lines that begin with inet, such as:%0a%0a[@%0a inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255%0a@]%0a%0aThis line will tell you the IP addresses your system has. 127.0.0.1 is localhost, which always refers to the machine itself, so it is not a public IP address. Likewise, 192.168.0.0/16 and 10.0.0.0/8 are not publicly reachable IP addresses.%0a%0aOnce you find your IP address, look for the interface name, a which is made of a few letter followed by a number. If OpenBSD is run on a virtual machine, the external interface is probably vio0.%0a%0aYou can learn more about the device driver for the interface by typing the interface name without the number:%0a%0a[@%0a$ man vio%0a@]%0a%0aReplace @@vio@@ with your interface.%0a%0a
15
2021-12-17
diff:1628356442:1621252386:=1,31c1,2%0a%3c (:title My IP Address:)%0a%3c %0a%3c !! Use DNS%0a%3c %0a%3c To determine your current public IP address, you can run:%0a%3c %0a%3c [@%0a%3c $ dig +short myip.opendns.com @resolver1.opendns.com%0a%3c @]%0a%3c %0a%3c or:%0a%3c %0a%3c [@%0a%3c dig TXT +short o-o.myaddr.l.google.com @ns1.google.com%0a%3c @]%0a%3c %0a%3c This will tell you at least one of your public IP addresses.%0a%3c %0a%3c !! Check DNS records%0a%3c %0a%3c If you have DNS setup, you can also run%0a%3c %0a%3c $ host username.example.com%0a%3c %0a%3c You'll want to replace @@username.example.com@@ with your real domain.%0a%3c %0a%3c !! Check ifconfig%0a%3c %0a%3c If you have multiple IP addresses, you might find more information using ifconfig:%0a%3c %0a%3c [@%0a---%0a> To determine your current IP address:%0a> %0a33,52c4,5%0a%3c @]%0a%3c %0a%3c Look for lines that begin with inet, such as:%0a%3c %0a%3c [@%0a%3c inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255%0a%3c @]%0a%3c %0a%3c This line will tell you the IP addresses your system has. 127.0.0.1 is localhost, which always refers to the machine itself, so it is not a public IP address. Likewise, 192.168.0.0/16 and 10.0.0.0/8 are not publicly reachable IP addresses.%0a%3c %0a%3c Once you find your IP address, look for the interface name, a which is made of a few letter followed by a number. If OpenBSD is run on a virtual machine, the external interface is probably vio0.%0a%3c %0a%3c You can learn more about the device driver for the interface by typing the interface name without the number:%0a%3c %0a%3c [@%0a%3c $ man vio%0a%3c @]%0a%3c %0a%3c Replace @@vio@@ with your interface.%0a%3c %0a---%0a> %0a> $ host %3cdomain>%0a\ No newline at end of file%0a
18
2021-12-17
diff:1621252386:1621252386:=1,5d0%0a%3c To determine your current IP address:%0a%3c %0a%3c $ ifconfig%0a%3c %0a%3c $ host %3cdomain>%0a\ No newline at end of file%0a