Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th July 2012, 11:01
laidejs25 laidejs25 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default DNS Problem with Fresh Debian install

Hi
I have the problem trying to sort this for 2 weeks no result. 100 times reinstall the same problem. I use Debian ISPConfig with Bind installation run with no errors. Site is not coming up with name changing to ip works good changing to * not working. Dig mydomain, localhost, mx say no dns records serverfail. Dig google run well. I added dns in ispconfig with wizard (usualy worked for me). In my /etc/bind/named.conf.local shows zone for my domain. /etc/bind/pri.mydomain shows records about my domain looks good (i hope). In my /var/log/ispconfig/cron.log only warnings about jailkit' missing LSB tags and [warn] NameVirtualHost has no virtualhost any idea what can be wrong with my box ? Big thanks for any help.


Dig mydomain


; <<>> DiG 9.7.3 <<>> elatvia.lv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64114
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;elatvia.lv. IN A

;; Query time: 5 msec
;; SERVER: 82.193.64.2#53(82.193.64.2)
;; WHEN: Wed Jul 11 11:24:35 2012
;; MSG SIZE rcvd: 28


/etc/bind/named.conf.local


zone "elatvia.lv" {
type master;
allow-transfer {none;};
file "/etc/bind/pri.elatvia.lv";
};


/etc/bind/pri.elatvia.lv


$TTL 3600
@ IN SOA ns1.server1elatvia.elatvia.lv. elatvia.elatvia.lv. (
2012071001 ; serial, todays date + todays serial #
7200 ; refresh, seconds
540 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

elatvia.lv. 3600 A 212.142.73.*
elatvia.lv. 3600 MX 10 mail.elatvia.lv.
elatvia.lv. 3600 NS ns1.server1elatvia.elatvia.lv.
elatvia.lv. 3600 NS ns2.server1elatvia.elatvia.lv.
mail 3600 A 212.142.73.*
www 3600 A 212.142.73.*
Reply With Quote
Sponsored Links
  #2  
Old 12th July 2012, 09:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
elatvia.lv. 3600 A 212.142.73.*
mail 3600 A 212.142.73.*
www 3600 A 212.142.73.*
You must not use asterisks.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
laidejs25 (16th July 2012)
  #3  
Old 12th July 2012, 11:21
laidejs25 laidejs25 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi falko thanks for reply.

I changed the last ip digits in post with *. In original I have full and corect ip off my box. Here it is:

/etc/bind/pri.elatvia.lv


$TTL 3600
@ IN SOA ns1.server1elatvia.elatvia.lv. elatvia.elatvia.lv. (
2012071001 ; serial, todays date + todays serial #
7200 ; refresh, seconds
540 ; retry, seconds
604800 ; expire, seconds
86400 ) ; minimum, seconds
;

elatvia.lv. 3600 A 212.142.73.115
elatvia.lv. 3600 MX 10 mail.elatvia.lv.
elatvia.lv. 3600 NS ns1.server1elatvia.elatvia.lv.
elatvia.lv. 3600 NS ns2.server1elatvia.elatvia.lv.
mail 3600 A 212.142.73.115
www 3600 A 212.142.73.115





P.S.
I still looking for solution

Last edited by laidejs25; 12th July 2012 at 13:34.
Reply With Quote
  #4  
Old 13th July 2012, 15:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
elatvia.lv. 3600 NS ns1.server1elatvia.elatvia.lv.
elatvia.lv. 3600 NS ns2.server1elatvia.elatvia.lv.
Since your nameservers are i nthe same domain, you must create A records for ns1.server1elatvia.elatvia.lv and ns2.server1elatvia.elatvia.lv as well, and in addition to that you need glue records: http://en.wikipedia.org/wiki/Domain_...d_glue_records
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th July 2012, 16:49
laidejs25 laidejs25 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Thanks Falko for help it worked for me.


I added A records in ISPConfig DNS
example:
A ns1.server1mydomain.mydomain.com 192.148.2.101
A ns2.server1mydomain.mydomain.com 192.148.2.101
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maia MailGuard in ISPC3 warlock Tips/Tricks/Mods 7 23rd December 2010 05:51
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
Maia Mailguard with ISPconfig seangee Installation/Configuration 4 24th June 2010 09:08
Google Apps dayjahone General 19 29th March 2008 17:25
Problem with install Debian Etch on a Software Raid 1 lano Installation/Configuration 2 25th July 2007 09:07


All times are GMT +2. The time now is 06:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.