Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Need Help Configuring The BIND DNS Server, Make it resolving some domains as I want.
Ally
post Nov 20 2006, 11:41 AM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 42
Joined: 11-February 06
From: Russia, Krasnodar
Member No.: 11,215



Please help me with configurating bind dns server.
I configured it for internet domain names resolving (forwarder) and local domains resolver (xxxxx.ds) now I need that dns resolve internet domain as I want. cs.kuban.tv as 192.168.144.200 instead of 213.132.64.34, I don't know how to do it. DNS server I forward request to, resolve it as 213.132.64.34.
What I should write in config file?
Slackware linux 10.2 / BIND 9.
Thanks for all who will reply. biggrin.gif
Go to the top of the page
 
+Quote Post
bakr_2k5
post Nov 20 2006, 02:48 PM
Post #2


Member - Active Contributor
Group Icon

Group: Members
Posts: 83
Joined: 25-September 06
From: The Netherlands
Member No.: 16,153



QUOTE(Ally @ Nov 20 2006, 11:41 AM) *
cs.kuban.tv as 192.168.144.200 instead of 213.132.64.34, I don't know how to do it. DNS server I forward request to, resolve it as 213.132.64.34.


Isn't that done in /etc/hosts file? At least when I want to point hostname to 127.0.0.1 i do it in /etc/hosts...

CODE

/etc/hosts

192.168.144.200             cs.kuban.tv


Don't know for sure. But it seems logical to me smile.gif

bakr_2k5
Go to the top of the page
 
+Quote Post
Ally
post Nov 20 2006, 05:18 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 42
Joined: 11-February 06
From: Russia, Krasnodar
Member No.: 11,215



If I add this to hosts it resolves as 192.168.144.200 only on computer where are I added this. DNS server doesn't look for records in hosts. Hosts file uses as first place where computer try to find hostname <> ip address.
Go to the top of the page
 
+Quote Post
bakr_2k5
post Nov 20 2006, 05:28 PM
Post #4


Member - Active Contributor
Group Icon

Group: Members
Posts: 83
Joined: 25-September 06
From: The Netherlands
Member No.: 16,153



Hmmm i kinda knew that, but somehow forgot it... Well then I don't know.
Perhaps others will know smile.gif

I never used dns or so, that's why...

Bakr_2k5

PS: Kinda worthless post ...
Go to the top of the page
 
+Quote Post
ignite
post Nov 20 2006, 07:51 PM
Post #5


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 17-November 06
Member No.: 17,334



QUOTE(Ally @ Nov 20 2006, 01:41 PM) *

Please help me with configurating bind dns server.
I configured it for internet domain names resolving (forwarder) and local domains resolver (xxxxx.ds) now I need that dns resolve internet domain as I want. cs.kuban.tv as 192.168.144.200 instead of 213.132.64.34, I don't know how to do it. DNS server I forward request to, resolve it as 213.132.64.34.
What I should write in config file?
Slackware linux 10.2 / BIND 9.
Thanks for all who will reply. biggrin.gif


Add lines to /etc/named.conf:
zone "cs.kuban.tv" {
type master;
file "cs.kuban.tv.hosts";
};

Create file /var/named/cs.kuban.tv.hosts:
$ttl 38400
cs.kuban.tv. IN SOA cs.kuban.tv. root.cs.kuban.tv. (
1053609663
10800
3600
604800
38400 )
cs.kuban.tv. IN A 192.168.144.200

Directory where to create cs.kuban.tv.hosts may differ from mine, but you can easy find proper location by lookup line directory "/var/named"; in /etc/named.conf file

Should help.
Go to the top of the page
 
+Quote Post
Ally
post Mar 1 2007, 12:41 PM
Post #6


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 42
Joined: 11-February 06
From: Russia, Krasnodar
Member No.: 11,215



Okey. Thanks you a lot biggrin.gif
Go to the top of the page
 
+Quote Post
nightfox
post Mar 11 2007, 03:13 AM
Post #7


NiGHTFoX - Hiding in the dark
Group Icon

Group: Members
Posts: 680
Joined: 3-April 05
Member No.: 3,584



I hate to leech off of this topic, but it is related to DNS... would doing this on Windows Server be almost the same? (Obviously, I'd be through the GUI, not a file) Thanks!

[N]F
Go to the top of the page
 
+Quote Post
cryptwizard
post Apr 28 2007, 11:08 AM
Post #8


Member - Active Contributor
Group Icon

Group: Members
Posts: 77
Joined: 11-December 04
Member No.: 1,704



Are you using BIND under Windows Server or another DNS program?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Where To Get Domains For Cheap?(6)
  2. Hey What Do I Need To Run Your Own Server?(9)
  3. Home Server Routing(2)
  4. Logon To Win Server 2003 From Win 98(1)
  5. Local Mail Server(4)
  6. Apache Server Problems(5)
  7. Where Can I Find A Free Public Ldif Server ?(2)
  8. Can't Run Any Local Server On This Pc(7)
  9. Configure 1st And 2nd Name Server(4)
  10. Help, I Can't Make A Server For Teamspeak, Cs, Etc(8)
  11. Server Slow On LAN, Fast On The Internet(14)
  12. Questions About Setting Up An Internet Server(14)
  13. Server Domain (help!)(5)
  14. Server Behind Router(6)
  15. Free Secondary Dns/backup Name Server(0)
  1. Apache Server On Xampp(8)
  2. Free Remote Wireless Server?(1)
  3. Server With Quest?(4)


 



- Lo-Fi Version Time is now: 12th October 2008 - 05:10 PM