LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2003, 02:59 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
dns forum needed-or-some help


Hi there my dns server before respons to the request he searchs for a pc with ip address 192.168.64.254 . In my network nowhere exists such an ip. I think that the last ip address of a network by default is given to a dns server ..... so i was wondering why my dns server is searching for another den server? After a lot of arp messages my dns server replies to the client.

Do u know any forum for dns in order to ask some things?
Thx guys
 
Old 11-25-2003, 03:15 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The Networking forum is OK for your question.

There are many possible reasons and it's hard to answer without knowing more. Some ideas:
1) Check the DNS configuration (if you're using named look into named.conf and files mentioned inside). Maybe there's an old entry with such IP?

2) Maybe it's the client asking for the IP by mistake? Maybe the client is not configured properly? Maybe the IP was in use before?

3) Run tcpdump or a similar tool (I understand you have already done it) and see if the client asks about the IP. Does it?
 
Old 11-26-2003, 08:19 AM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
xmm

1) Check the DNS configuration (if you're using named look into named.conf and files mentioned inside). Maybe there's an old entry with such IP?
Reply: I installed the named from the beggining. Nowhere tells something about this address.

2) Maybe it's the client asking for the IP by mistake? Maybe the client is not configured properly? Maybe the IP was in use before?
Reply: Never before, because i installed from the beggining my home network with its clients

3) Run tcpdump or a similar tool (I understand you have already done it) and see if the client asks about the IP. Does it?
Reply: I will do it when i ll go home. Till then i was wondering if i must search all the file for the ip 192.168.64.254 . If i ll find some, then i can probably find out the problem.
I was thinking that redhat 8.0 has by default some network files so it must be a malfuntion of the distribution... any other idea will real help
 
Old 11-26-2003, 11:20 AM   #4
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
what kind of dns server u configured?
master or slave?
 
Old 11-26-2003, 11:35 AM   #5
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
i think it s a master

type master? Is that all?


//Startup file for bind 8 and later
// generated by named-bootconf.pl

options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//


zone "palaios.gr"{
type master;
file "db.palaios";
};
zone "64.168.192.in-addr.arpa" in {
type master;
file "db.192.168.64";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};
zone "." in {
type hint;
file "db.cache";
};


include "/etc/rndc.key";
 
Old 11-27-2003, 02:00 AM   #6
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
Do u have something else to suggest?
 
Old 11-28-2003, 04:02 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The DNS configurations looks good.
If I remember correctly, x.x.x.254 may be a default choice for default gateway. Look how your 'route' result say. If there's the address somewhere, you probable need to change it. On the other way, it's rathere not the server, because I understand you have the Net access.

I highly recommend you to run tcpdump and find out which hosts starts using the strange IP.
 
Old 11-28-2003, 08:37 PM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Does that IP appear in your /etc/resolv.conf or /etc/hosts file? It might be trying host resolution prior to BIND.

try $ grep 192.168.64.254 /etc/*
 
Old 11-29-2003, 02:38 AM   #9
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
thx

first of all thx a lot about your interest. I found the /etc/sysconfig/network file which has a value 192.168.64.254. So i change this ip address to the machines ip. Is this right or what will the right be?

The problem has complettely transformed now . The dns no more asks about the 192.168.64.254. address but for a whole other completely wrong considering my network.
For example dns sends broadcast message for the following ips?
Who has the ip address 194.123.56.12
Who has the ip address 213.112.54.36
................................


What do u suggest?
 
Old 11-29-2003, 10:31 AM   #10
andrecbarros
LQ Newbie
 
Registered: Sep 2003
Location: Brazil
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
I would suggest you to look resolv.conf. It must looks like

earch hostname.domain domain
nameserver 127.0.0.1
nameserver your_isp_1st_ip
nameserver your_isp_2nd_ip


also, don't forget to check host.conf (should be something like that):

order hosts, bind
multi on

Also, you must edit the name/reverse lookup that bind put in some place in your /var dir.

If you want an example, let me know.

Good luck
 
Old 11-29-2003, 12:02 PM   #11
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
It sounds like something is not right with the routing. You should not be sending arp requests for non-local IPs. You should have a route for 192.168.64.0/24 as directly connected via one of your ethernet interfaces. Default (0.0.0.0/0) should point at your first hop towards the Internet (first hop after your external ethernet interface).

What's the output of netstat -nra
?

PS based on the problem you're having, I think the 192.168.64.254 address was probably listed as your "gateway" address. That's why it was trying to find that IP before and that's why it's now trying to send arp requests for non-local addresses. If your machine now thinks that it's own IP is the default gateway, it's going to treat any IP as directly connected. You should change that value in /etc/sysconfig/network to be whatever your default gateway is (the inside IP of your cable modem/DSL router, etc).

Last edited by chort; 11-29-2003 at 12:05 PM.
 
Old 11-29-2003, 02:55 PM   #12
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
xmmm

What do u mean by this
"Also, you must edit the name/reverse lookup that bind put in some place in your /var dir."?

I think i find out the solution

In the /etc/sysconfig/network

there was a field that has the value
GATEWAY=192.168.64.254
This was the reason why my dns was searching for a machine with this ip address

Firstly i changed it to this
GATEWAY=192.168.64.12(ip of the dns server) and my dns got mad searching for lot of different addresse

I changed it today to
GATEWAY=<blank>
And no more arp messages to my network......
Simple eh?
Thx
Plz keep answering as fas as i am going to learn
 
Old 11-29-2003, 03:42 PM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
You need to fill the GATEWAY line with the right default gateway for your network. You should know it. If not, it should be in your other machines configuration. Usually it's IP of the router you have your Internet connection plugged into.
 
Old 11-29-2003, 03:53 PM   #14
andrecbarros
LQ Newbie
 
Registered: Sep 2003
Location: Brazil
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
If you look your named.conf your will see the following zones:

zone "palaios.gr"{
type master;
file "db.palaios";
};

zone "64.168.192.in-addr.arpa" in {
type master;
file "db.192.168.64";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};

zone "." in {
type hint;
file "db.cache";
};

The first zone should be your domain zone, if you try to look for something like "mycomp.palaios.gr" the file "db.palaios" will be traversed so that the correct IP can be taken. It's a direct mapping.

The second one is searched when your try something like "ping 192.168.64.1" and will give to you the hostname.domain of the IP you gave. The file is "db.192.168.64" and in this case is a reverse mapping.

After that, is just your computer itself.

And the last one is searched when no other zone was defined. The db.cache has most common internet name/IPs.

I'm being a bit lax, but think you got the idea.
 
Old 11-29-2003, 04:18 PM   #15
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
xmm... thx

Thx. My network is a home small network with 3 pcs. No router is available. The dns server is not connected with the internet. So what i must enter for the gateway. I think that <blank> is the best choice. Isn't it?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
DNS help needed swiftsage Linux - Networking 1 08-17-2005 04:34 PM
Kernel Forum Needed sashhoney LQ Suggestions & Feedback 1 05-21-2005 08:45 AM
DNS: Urgent Help Needed tarheel92x Linux - Networking 1 01-23-2004 04:02 PM
AIX Forum Needed! zepplin611 LQ Suggestions & Feedback 5 01-09-2004 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration