Capture dynamic DNS public IP

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
jontrv
Level 1
Level 1
Posts: 4
Joined: Thu Mar 03, 2016 11:47 am

Capture dynamic DNS public IP

Postby jontrv » Sat Oct 21, 2017 11:58 am

Sorry if this duplicates another topic, but I failed to find one matching my problem.
I need a tool to monitor my public IP address (visible on my router), and capture any changes so that I can update a nameserver somewhere, preferably automatically.
Research suggests ddclient, but I cannot find that on Mint 17.3.
1. does Mint have an alternate tool built in?
2. if not, is there a better tool for the job, preferably with a GUI interface.
3. before I escaped from the dark side I used to use a tool called DirectUpdate, at worst case I could run that through wine, but I would much prefer a native solution.
JT:

User avatar
phd21
Level 14
Level 14
Posts: 5045
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Capture dynamic DNS public IP

Postby phd21 » Sat Oct 21, 2017 1:57 pm

Hi "jontrv",

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

Previous post with good information on displaying public IP and local IP addresses, like "indicator-ip".
https://forums.linuxmint.com/viewtopic.php?f=53&t=251802&hilit=indicator+ip

If you use a DNS provider to replace the default local ISP connection's DNS servers, then you can set it and forget it.

Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

jontrv
Level 1
Level 1
Posts: 4
Joined: Thu Mar 03, 2016 11:47 am

Re: Capture dynamic DNS public IP

Postby jontrv » Sat Oct 21, 2017 4:14 pm

"inxi -Fxzd" and "lsusb ? There is very little there that will truly help you with this.
I am on Mint Cinnamon 17.3, kernel 3.13.0-100-generic x86_64 (64 bit gcc: 4.8.4) (mainly because 18.* generic graphics drivers will not yet do dual display with my ancient AMD graphics card, I need fgrlx... what I've got works, why change until I have to.)

Network: Card-1: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet
driver: ATL1E port: cc00 bus-ID: 02:00.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> (must one day upgrade a 100Mbps switch)

I know all about local IP addresses, got about a dozen internal nodes. It's my public IP address I want to read, in a script or applet that will remember what it was last time, and take actions if it changes.
I will look into the links in the topic you refer to, thanks for the pointer.
JT:

greerd
Level 5
Level 5
Posts: 734
Joined: Sat Jul 31, 2010 10:58 am
Location: Nova Scotia, Canada

Re: Capture dynamic DNS public IP

Postby greerd » Sat Oct 21, 2017 8:39 pm

Try this in a terminal

Code: Select all

dig +short myip.opendns.com @resolver1.opendns.com


Cheers
Image


Return to “Other networking topics”