Has anyone used the salt.modules.dnsutil.serial before ?

71 views
Skip to first unread message

Pier B.

unread,
May 22, 2017, 12:19:52 PM5/22/17
to Salt-users
Hi,

I am trying to use the dnsutils module, and more specifically the serial function, but I cannot make it works.....

Does salt  have to manage the bind zone file in order to be able to update it ?

Anyone ever tried this one ?

Thanks !

Viet Hung Nguyen

unread,
May 22, 2017, 11:09:25 PM5/22/17
to salt-...@googlegroups.com
I haven’t used it but according to the code of the module, it just stores “serial” number of a zone identified by zone name in grains, the function will retrieve the current serial or update it (update grains) 


> Does salt  have to manage the bind zone file in order to be able to update it ?

No

It does not do anything relate to the zone file on disk.

I cannot find anywhere in states/ that uses the function.
I guess the function is there to let user use  it in a zone config file, so it will update the serial every time or base on some condition.


Viet Hung Nguyen


--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/ceebf82e-dbe6-4a50-82a5-4cb8be6d5efa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pier B.

unread,
May 23, 2017, 4:22:17 AM5/23/17
to Salt-users
OK, I got it now, thanks for your explanation, I'll give it a try today.

Thanks again Viet Hung
Reply all
Reply to author
Forward
0 new messages