[mrtg] MRTG and DynDNS

Scott Neader scott.neader at CenturyTel.com
Thu Sep 13 23:45:25 CEST 2007


Can someone clarify... Does MRTG work with DNS names, instead of IP
addresses?  Is what he is trying even supported?

- Scott 

> -----Original Message-----
> From: mrtg-bounces at lists.oetiker.ch 
> [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Guenther Boelter
> Sent: Tuesday, September 04, 2007 4:14 AM
> To: mrtg at lists.oetiker.ch
> Subject: Re: [mrtg] MRTG and DynDNS
> 
> Thanks Alex,
> 
> looks like it's really a problem with MRTG.
> 
> If nobody has a better idea, I will try to run MRTG via cron 
> instead as a daemon.
> 
> Let's see ....
> 
> 
> 
> 
> Alex van den Bogaerdt wrote:
> > On Tue, Sep 04, 2007 at 02:38:22PM +0800, Guenther Boelter wrote:
> > 
> >> I have an agent/client with a dynamic IP address using 
> dyndns.org. At 
> >> the moment the IP address for the client has changed MRTG 
> can't get 
> >> datas anymore from that client because MRTG is still using 
> the old ip.
> > 
> > Is MRTG, or is your entire system?
> > 
> > Perhaps you've just found out about DNS caching...
> > 
> > 
> http://en.wikipedia.org/wiki/Domain_name_system#Caching_and_time_to_li
> > ve
> > 
> > I'm not saying that it certainly is not mrtg, I don't know, but I 
> > could think about a couple of other places where things 
> could go wrong.
> > 
> > I hope someone else can give a more definitive answer but 
> in the mean 
> > time you could try to narrow down the problem area.  Some 
> tools will 
> > use the DNS resolver (and return cached data) some will 
> bypass it and 
> > return the new IP address.  Maybe a small perl program 
> would do, one 
> > pinging the host one time and thus showing the IP address.
> > 
> > HTH
> > Alex
> > 
> > _______________________________________________
> > mrtg mailing list
> > mrtg at lists.oetiker.ch
> > https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
> > 
> 
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
> 
> 



More information about the mrtg mailing list