MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: rainwolf on 2019-09-11, 13:57:57

Title: fix dns probelm-TinyDns
Post by: rainwolf on 2019-09-11, 13:57:57
Hi Everybody .
i have a problem with Tinydns,when i run "sh /script/fixdns" i face this error for all my domains :
Code: [Select]
tinydns-data: fatal: unable to parse data line 190: unrecognized leading charactermake: *** [data.cdb] Error 111

web server is nginx and also i have about 10 domains added to panel.
Title: Re: fix dns probelm-TinyDns
Post by: MRatWork on 2019-09-11, 17:41:35
Try 'sh /script/setup-djbdns; sh /script/fixdns; sh /script/restart-dns'.
Title: Re: fix dns probelm-TinyDns
Post by: rainwolf on 2019-09-11, 17:53:03
I tried  : sh /script/setup-djbdns
the result was :
Code: [Select]
[root@168 ~]# sh /script/setup-djbdns
* DJBDns setup for:
  - tinydns setup finished
  - axfrdns setup finished
  - dnscache setup finished
then :  sh /script/fixdns
Code: [Select]
[root@168 ~]# sh /script/fixdns

- For help, type '/script/fixdns [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing DNS server config (including their parked/redirect domains)
- 'hushahost.ir' ('hushahost') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'forum.zihesabi.ir' ('zihesabi') at 'localhost'
- 'zihesabi.ir' ('zihesabi') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'abzarazadi.ir' ('abzarazadi') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'nosazimadaresgil.ir' ('nosazigilan') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'crm.hushasoft.ir' ('hushasoft') at 'localhost'
- 'hushasoft.ir' ('hushasoft') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'aghayekhan.ir' ('aghayekhan') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'dehkadeh.tk' ('dehkadeh') at 'localhost'
- 'dehkadehman.ir' ('dehkadeh') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111
- 'bazarcheketab.ir' ('bazarcheketab') at 'localhost'
tinydns-data: fatal: unable to parse data line 190: unrecognized leading character
make: *** [data.cdb] Error 111

*** Process Time: 00:00:00:03.3867 (dd:hh:mm:ss:xxxxxx) ***
then :  sh /script/restart-dns
Code: [Select]
[root@168 ~]# sh /script/restart-dns

*** Process for BIND service ***
  - Process: restart
Stopping named (via systemctl):                            [  OK  ]
Starting named (via systemctl):  Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.
                                                           [FAILED]
-------------------------------------------------------------------

- For help, type '/script/restart-dns [--help|-h]'
and still not fixed.
Title: Re: fix dns probelm-TinyDns
Post by: MRatWork on 2019-09-12, 10:29:53
Give me your ssh dan panel access.
Title: Re: fix dns probelm-TinyDns
Post by: rainwolf on 2019-09-12, 11:12:21
ssh access sent to you in PM.
Title: Re: fix dns probelm-TinyDns
Post by: MRatWork on 2019-09-12, 15:19:33
Still trouble using djbdns in CentOS 7. So, change to nsd.