[Check_mk (english)] Dns cache not updating with system's one?

Hi there,

I am running an Ubuntu 18.04.1 VM with Raw 1.4.0p33.

A host moved to another subnet and it’s DNS was updated on the DNS

server on the domain.

After short time, as expected, from the VM’s console I could resolve the

host correctly.

Check MK wouldn’t update the host though. I managed to “force” it by

renaming the host in WATO and naming it back to the correct name.

Any idea why and how to fix it for the future?

Best

David

Check_MK uses its own DNS cache to not have to resolve a name every time a check runs.

This cache gets updated every 24 hours.

You can manually update the cache with the "Update DNS Cache" button in the host properties in WATO.

Regards

···

On 13.11.18 17:24, David Schmidt wrote:

Check MK wouldn't update the host though. I managed to "force" it by
renaming the host in WATO and naming it back to the correct name.

--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin

Wow, that is a quick reply, thanks a lot!

···

On Tue, Nov 13, 2018, 17:46 Robert Sander <r.sander@heinlein-support.de wrote:

On 13.11.18 17:24, David Schmidt wrote:

Check MK wouldn’t update the host though. I managed to “force” it by

renaming the host in WATO and naming it back to the correct name.

Check_MK uses its own DNS cache to not have to resolve a name every time a check runs.

This cache gets updated every 24 hours.

You can manually update the cache with the “Update DNS Cache” button in the host properties in WATO.

Regards

Robert Sander

Heinlein Support GmbH

Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43

Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B

Geschäftsführer: Peer Heinlein - Sitz: Berlin


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Second Option is that you use the DNS name inside the “IP” field inside your host definition.
Then Check_MK resolves the name every time it makes contact to this host.

Good for devices with DHCP addresses.

Best regards

Andreas

···

Am Di., 13. Nov. 2018 um 17:50 Uhr schrieb David Schmidt schmidt.david.j.m@gmail.com:

Wow, that is a quick reply, thanks a lot!

On Tue, Nov 13, 2018, 17:46 Robert Sander <r.sander@heinlein-support.de wrote:

On 13.11.18 17:24, David Schmidt wrote:

Check MK wouldn’t update the host though. I managed to “force” it by

renaming the host in WATO and naming it back to the correct name.

Check_MK uses its own DNS cache to not have to resolve a name every time a check runs.

This cache gets updated every 24 hours.

You can manually update the cache with the “Update DNS Cache” button in the host properties in WATO.

Regards

Robert Sander

Heinlein Support GmbH

Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43

Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B

Geschäftsführer: Peer Heinlein - Sitz: Berlin


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Thanks for the tip!

···

On Tue, Nov 13, 2018, 19:43 Andreas Döhler <andreas.doehler@gmail.com wrote:

Second Option is that you use the DNS name inside the “IP” field inside your host definition.
Then Check_MK resolves the name every time it makes contact to this host.

Good for devices with DHCP addresses.

Best regards

Andreas

Am Di., 13. Nov. 2018 um 17:50 Uhr schrieb David Schmidt schmidt.david.j.m@gmail.com:

Wow, that is a quick reply, thanks a lot!

On Tue, Nov 13, 2018, 17:46 Robert Sander <r.sander@heinlein-support.de wrote:

On 13.11.18 17:24, David Schmidt wrote:

Check MK wouldn’t update the host though. I managed to “force” it by

renaming the host in WATO and naming it back to the correct name.

Check_MK uses its own DNS cache to not have to resolve a name every time a check runs.

This cache gets updated every 24 hours.

You can manually update the cache with the “Update DNS Cache” button in the host properties in WATO.

Regards

Robert Sander

Heinlein Support GmbH

Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43

Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 93818 B

Geschäftsführer: Peer Heinlein - Sitz: Berlin


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en


checkmk-en mailing list

checkmk-en@lists.mathias-kettner.de

Manage your subscription or unsubscribe

http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en