nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

BIND 9 and Query-Source

This is a discussion on BIND 9 and Query-Source within the Linux software forums, part of the Linux Getting Started category; Hi All: I have configured BIND 9 and I am using 4 NIC cards.. For Ex:: 1. 192.1680.1, ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-07-2005, 05:10 AM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Ashish Pathak
Send a message via MSN to Ashish Pathak Send a message via Yahoo to Ashish Pathak
Default BIND 9 and Query-Source

Hi All:

I have configured BIND 9 and I am using 4 NIC cards..
For Ex::
1. 192.1680.1, 2, 3, 4
2. Now here I want use only one NIC card i.e. 192.168.0.1 as query-source, In named conf I put the following entry..

query-source address 192.168.0.1 port 53 ;
but still it is showing

Pv4 interface lo, 127.0.0.1#53
Feb 06 16:53:03.896 listening on IPv4 interface eth0, 192.168.0.1#53
Feb 06 16:53:03.896 listening on IPv4 interface eth1, 192.168.0.2#53
Feb 06 16:53:03.897 listening on IPv4 interface eth2, 192.168.0.3#53
Feb 06 16:53:03.898 listening on IPv4 interface eth5, 192.168.0.4#53

Since I have configured it for 192.168.0.1, It should only listen on 192.168.0.1... but it is not doing so..
Any solution??
Reply With Quote
  #2 (permalink)  
Old 02-07-2005, 07:32 AM
Member
User
 
Join Date: Jan 2005
Location: Pune, India.
Posts: 47
Ashish Pathak
Send a message via MSN to Ashish Pathak Send a message via Yahoo to Ashish Pathak
Default

Just now came to know that we can not use query-source directive to do this. We can use this if server doesent knoe the answer to a question, then it will query another nameserver using query-source directive.

I want to configure it in such a way so that all DNS queries will go to 192.168.0.1.. Now the picture is bit clear..
Reply With Quote
  #3 (permalink)  
Old 02-07-2005, 12:42 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 478
monk is an unknown quantity at this point
Default

In options try

Code:
listen-on { 192.168.1.3; };
If the server doesn't know the answer to a question, it will query other nameservers. query-source specifies the address and port used for such queries so use listen-on to bind Linux/BSD named (bind 9) to specific IP address as shown above
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Setting Samba to Bind to an ADS Domain kevv.mai Server configuration tutorials 0 04-20-2008 01:47 AM
Hard Link Query sharadgana Getting started tutorials 2 03-25-2008 12:11 AM
BIND Name resolution kasimani Linux software 1 10-06-2006 12:42 AM
Ubuntu Linux setup and configure a domain name server - BIND tom Getting started tutorials 1 08-10-2006 05:20 PM
a query kavi Linux software 2 10-16-2005 06:16 AM


All times are GMT +5.5. The time now is 04:50 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35