Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 530
    • Issues 530
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 101
    • Merge requests 101
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #900
Closed
Open
Created Feb 25, 2019 by Ghost User@ghost

Deadly lost into BIND on Centos 7.6.1810 and PLesk 17.8.11

Hi BIND Community, I am deadly lost with BIND ;-) Underneath do find my troubleshooting:

# systemctl status named-chroot.service
● named-chroot.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-02-25 17:21:47 CET; 13s ago
  Process: 5368 ExecStartPre=/usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf (code=exited, status=1/FAILURE)
 Main PID: 8611 (code=exited, status=0/SUCCESS)

Feb 25 17:21:47 s16251634 named-checkconf[5368]: zone domain.com/IN: not loaded due to errors.
Feb 25 17:21:47 s16251634 named-checkconf[5368]: _default/domain.com/IN: bad hex encoding
Feb 25 17:21:47 s16251634 named-checkconf[5368]: dns_rdata_fromtext: domain.fr:25: near eol: bad hex encoding
Feb 25 17:21:47 s16251634 named-checkconf[5368]: zone domain.fr/IN: loading from master file domain.fr failed: bad hex encoding
Feb 25 17:21:47 s16251634 named-checkconf[5368]: zone domain.fr/IN: not loaded due to errors.
Feb 25 17:21:47 s16251634 named-checkconf[5368]: _default/domain.fr/IN: bad hex encoding
Feb 25 17:21:47 s16251634 named-checkconf[5368]: zone domain.com/IN: loaded serial 2019022504
Feb 25 17:21:47 s16251634 systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Feb 25 17:21:47 s16251634 systemd[1]: Unit named-chroot.service entered failed state.
Feb 25 17:21:47 s16251634 systemd[1]: named-chroot.service failed.

and

> # named-checkconf -z
> zone 0.0.127.IN-ADDR.ARPA/IN: loading from master file localhost.rev failed: file not found
> zone 0.0.127.IN-ADDR.ARPA/IN: not loaded due to errors.
> _default/0.0.127.IN-ADDR.ARPA/IN: file not found
> zone domain.fr/IN: loading from master file domain.fr failed: file not found
> zone domain.fr/IN: not loaded due to errors.
> _default/domain.fr/IN: file not found
> zone domain.fr/IN: loading from master file domain.fr failed: file not found
> zone domain.fr/IN: not loaded due to errors.
> _default/domain.fr/IN: file not found
> zone domain.fr/IN: loading from master file domain.fr failed: file not found
> zone domain.fr/IN: not loaded due to errors.
> _default/domain.fr/IN: file not found
> zone domain.com/IN: loading from master file domain.com failed: file not found
> zone domain.com/IN: not loaded due to errors.
> _default/domain.com/IN: file not found
> zone domain.com/IN: loading from master file domain.com failed: file not found
> zone domain.com/IN: not loaded due to errors.
> _default/domain.com/IN: file not found
> zone domain.com/IN: loading from master file domain.com failed: file not found
> zone domain.com/IN: not loaded due to errors.
> _default/domain.com/IN: file not found
> zone location-villa-domain.fr/IN: loading from master file location-villa-domain.fr failed: file not found
> zone location-villa-domain.fr/IN: not loaded due to errors.
> _default/location-villa-domain.fr/IN: file not found
> zone domain.com/IN: loading from master file domain.com failed: file not found
> zone domain.com/IN: not loaded due to errors.
> _default/domain.com/IN: file not found
> zone domain.fr/IN: loading from master file domain.fr failed: file not found
> zone domain.fr/IN: not loaded due to errors.
> _default/domain.fr/IN: file not found
> zone domain.com/IN: loading from master file domain.com failed: file not found
> zone domain.com/IN: not loaded due to errors.
> _default/domain.com/IN: file not found

I replace all the reals domains with "domain" I am really lost and as I am not a sysadmin, I really need some help STEP BY STEP if possible. Thank you so much for helping me David

Edited Jan 31, 2022 by Mark Andrews
Assignee
Assign to
Time tracking