• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Problem in DNS configuration

shiva79k

New Member
Joined
Jul 8, 2013
Messages
1 (0.00/day)
Hai all,

I am new to configure DNS Server, i configured DNS Server ofter i done Service Named Start following error messeages came.


$ service named restart;chkconfig named on;

Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone kumar.com/IN: NS 'dzcentos.kumar.com.kumar.com' has no address records (A or AAAA)
zone kumar.com/IN: not loaded due to errors.
_default/kumar.com/IN: bad zone
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 0.168.192.in-addr.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
[FAILED]


my host & diomain name is 'dzcentos.kumar.com' but in zone kumar.com follwing double doman name error comming 'dzcentos.kumar.com.kumar.com.

please help me to any one i appriciate you.
 

Geekoid

New Member
Joined
Mar 27, 2013
Messages
77 (0.02/day)
Location
UK
Rather than editing by files hand and making mistakes, try using a front-end like OpenPanel or Webmin.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,051 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
you are missing a . (dot) at the end of one of your addresses.

I think you have an A record for dzcentos.kumar.com somewhere, it needs to be dzcentos.kumar.com.

note the . at the end

Rather than editing by files hand and making mistakes, try using a front-end like OpenPanel or Webmin.

be a pro and learn how to edit files by hand
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.94/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
Could you post your domain zone file and your arpa.zone file?

If you're using Ubuntu, they should be in /var/cache/bind/master.

be a pro and learn how to edit files by hand
+1: Never rely on something like Webmin to do DNS for you. It can do a lot but if something goes wrong, you would want to know how to fix it anyways and at that point, you might as well edit it by hand.
 

Geekoid

New Member
Joined
Mar 27, 2013
Messages
77 (0.02/day)
Location
UK
be a pro and learn how to edit files by hand

But first, in order to be a pro, you need know what things should look like. We don't all start as pros, much as we'd love to! It is quite evident this is a first-timer who has never seen any DNS files before.

When I was a first-timer, I wanted to see something that worked that had my data in it. Webmin gave me this, and enabled me to learn from it. I think it is a great to have a "step-up", rather than diving straight in. This method of learning may work for the poster as well. Of course, we all learn in different ways! Some people like books, and this one gives some reasonable information:

http://shop.oreilly.com/product/9780596100575.do
 
Last edited:

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,051 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
Google should be enough for anything you need to learn
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.94/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
But first, in order to be a pro, you need know what things should look like. We don't all start as pros, much as we'd love to! It is quite evident this is a first-timer who has never seen any DNS files before.

A simple Google search will turn up some useful tutorials (as W1zz pointed out) to get those unfamiliar with DNS started. You don't need to be a "Pro" to do something simple.

http://ubuntuforums.org/showthread.php?t=236093
 

Geekoid

New Member
Joined
Mar 27, 2013
Messages
77 (0.02/day)
Location
UK
Guess its just me that is stupid then, and can't do things right first time >.< Hope the OP isn't like me...

I see things like "// Do not modify the following lines!" in the example at http://ubuntuforums.org/showthread.php?t=236093 and just think "Oh - I would most certainly have edited those lines", for example. I use a different serial scheme and refresh rate. I even update the serial each time I change the file.
 
Last edited:
Top