Author Topic: Zentyal dns update or retsart issue  (Read 385 times)

gabor.strama

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +2/-0
    • View Profile
Zentyal dns update or retsart issue
« on: January 27, 2019, 07:33:58 pm »
Hi!

I faced whith the following issue:
- When i try to cerate new dns record or try to modifie some dns record over the webadmin, i got error message on the webadmin page.
And this in the zentyal.log: 2019/01/27 19:26:21 ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/kwvOrGMAZG failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0)

- When i try to restart the dns service the service has been log  same error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0)

When i try to run the nsupdate command manualy: the error message is same.

The other symptoms
- the new record is not resolved
- only the server name is resolved.

Please somebody help me!

Thanks!

JLLEWELYN

  • Zen Monk
  • **
  • Posts: 58
  • Karma: +4/-0
    • View Profile
Re: Zentyal dns update or retsart issue
« Reply #1 on: January 27, 2019, 10:33:49 pm »
Enter this command via console or via SSH:
Code: [Select]
sudo samba-tool group addmembers DnsAdmins dns-${hostname}

where ${hostname} you replace them with your current hostname. example: DC1

"dns-DC1"
« Last Edit: January 27, 2019, 10:38:06 pm by JLLEWELYN »

gabor.strama

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +2/-0
    • View Profile
Re: Zentyal dns update or retsart issue
« Reply #2 on: January 30, 2019, 01:14:03 pm »
Hi!

I try it but i got a error message ERROR(exception): Failed to add members "dns-mail" to group "DnsAdmins" - Unable to find "dns-mail". Operation cancelled.

JLLEWELYN

  • Zen Monk
  • **
  • Posts: 58
  • Karma: +4/-0
    • View Profile
Re: Zentyal dns update or retsart issue
« Reply #3 on: January 31, 2019, 08:44:18 pm »
It is strange, it must be that the hostname is not correctly written. try this command to see what the result is.
Code: [Select]
sudo hostname
« Last Edit: January 31, 2019, 08:45:51 pm by JLLEWELYN »

gabor.strama

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +2/-0
    • View Profile
Re: Zentyal dns update or retsart issue
« Reply #4 on: February 02, 2019, 04:42:49 pm »
Hi!

Thx for your help!

The answer what i got is correct but it is looks like the user name is incorrect somehow.

Regards Gábor