Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th October 2011, 12:13
Wiched Wiched is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bind9 DNS server - configuration issues

In few words i want to set reverse dns for my existing domain from godaddy and use it as host on irc network. I followed this tutorial to set the Bind9 server.

The way my network is set is this:
Internet comes to my router with the real static ip and then it comes to my linux machine.I'm not that familiar with setting dns servers so i have few questions and problems. What DNS should i set to the domain on godaddy (they are like ns1.xXX.XX) and i can't set it to my ip address.Second when I nslookup something i got this error:

Code:
atlantius@Lemuria:~$ nslookup lemuria
Server:		199.207.13.100
Address:	199.207.13.100#53

** server can't find lemuria: NXDOMAIN

This is my Bind9 config:
named.conf.local
Code:
#FORWARD LOOKUP ZONE - Holds A records, maps hostnames to IP's
zone "pozitivensvqt.com"
{
	type master;
	file "/etc/bind/zones/pozitivensvqt.com.db";
};




#REVERSE LOOKUP ZONE - Holds TRP records, maps IP's to hostnames
zone "0.207.199.in-addr.arpa"
{
	type master;
	file "rev.0.207.199.in-addr.arpa";
};
named.conf.options

Code:
options {
	directory "/var/cache/bind";

	// If there is a firewall between you and nameservers you want
	// to talk to, you may need to fix the firewall to allow multiple
	// ports to talk.  See http://www.kb.cert.org/vuls/id/800113

	// If your ISP provided one or more IP addresses for stable 
	// nameservers, you probably want to use them as forwarders.  
	// Uncomment the following block, and insert the addresses replacing 
	// the all-0's placeholder.

	 forwarders {
	 	199.207.13.1;
		91.92.178.193;
		85.187.216.3;
		8.8.8.8;
		8.8.4.4;
	 };

	auth-nxdomain no;    # conform to RFC1035
	listen-on-v6 { any; };
};

pozitivensvqt.com.db

Code:
$TTL 3D
@	IN SOA Lemuria.pozitivensvqt.com.	admin.pozitivensvqt.com. {
2007031001;
28800;
3600;
604800;
38400
};

pozitivensvqt.com.	IN	NS	Lemuria.pozitivensvqt.com.
Lemuria			IN	A	199.207.13.100
www			IN	CNAME	Lemuria
rev.0.207.199.in-addr.arpa

Code:
$TTL 3D
@	IN	SOA	Lemuria.pozitivensvqt.com.	admin.pozitivensvqt.com. {
2007031001;
28800;
604800;
604800;
86400
};
	IN	NS	Lemuria.pozitivensvqt.com.
100	IN	PTR	Lemuria.pozitivensvqt.com.
1	IN	PTR	gw.pozitivensvqt.com.
If you can tell me what i did wrong with the bind9 and how to set it up right to use my real domain as host in irc it would be great.

Regards
Reply With Quote
Sponsored Links
  #2  
Old 31st October 2011, 10:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

You must set the reverse DNS at your hoster (or whoever gave you the IP address).
__________________
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
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
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
amavis & ispconfig 3 yalex2000 Installation/Configuration 20 18th February 2010 18:02
DNS master server: bind9 issues lordshadow Server Operation 6 24th September 2008 01:34
Google Apps dayjahone General 19 29th March 2008 18:25
Webmail Relay Error palkat General 17 23rd April 2006 19:12


All times are GMT +2. The time now is 02:42.


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