LinuxQuestions.org
Help answer threads with 0 replies.
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 10-10-2003, 10:28 AM   #1
alrawab
Member
 
Registered: Dec 2002
Location: Libya
Distribution: RHLE 5 + slackware 12
Posts: 60

Rep: Reputation: 15
dns problem


hi
i configured both dns (named) and dhcpd services in my linux box
the dhcpd work very will put in dns i cant dig the domain name
so any one can help me to solve this problem and how to make my clients automatically take names like staion1/..mydomain.com
thnx
 
Old 10-11-2003, 04:27 AM   #2
natedawg_38929
LQ Newbie
 
Registered: Oct 2002
Location: MS
Distribution: Slackware 9.1 XFS
Posts: 27

Rep: Reputation: 15
post your configuration scripts
 
Old 10-11-2003, 08:07 AM   #3
alrawab
Member
 
Registered: Dec 2002
Location: Libya
Distribution: RHLE 5 + slackware 12
Posts: 60

Original Poster
Rep: Reputation: 15
hi
i add the following lines to /etc/named.conf

zone alrawab.com {
type master ;
file "alrawab.com.zone";
}
zone 1.0.168.192.in-addr.apra {
type master;
file "1.0.168.192.in-addr.apra.zone";
}
================================
/var/named/alrawab.com.zone
$TTL 1D
@ IN SOA alrawab.com. root.alrawab.com. (
1000;
1H;
15M;
1D;
0;
)

IN A alrawab.com.
IN NS 192.168.0.1
IN MX 10 alrawab.com.

====================================

/var/named/1.0.168.192.in-addr.apra.zone

$TTL 1D
@ IN SOA alrawab.com. root.alrawab.com. (
2000;
1H;
15M;
1D;
0;
)

IN A alrawab.com.
IN PTR alrawab.com.
================================
for /etc/dhcpd.conf

ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.20
option domain-name alrawab.com;
option domain-name-servvers 192.168.0.1;
option routers 192.168.0.1;
host station1{
hardware ethernet mac........adress;
fixed-address 192.168.0.1;

}
}
 
Old 10-11-2003, 09:26 AM   #4
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
try to configure it in X mode ; sytem settings->server setting->dns services
 
Old 10-11-2003, 09:27 AM   #5
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
try to configure it in X mode ; sytem settings->server setting->dns services

edit /etc/resolv.conf
nameserver <ip of the machine >
 
  


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
DNS problem. Please help! auroratrading Linux - Networking 1 04-05-2005 02:14 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 05:39 AM
Possible DNS problem? JimBass Linux - Newbie 8 10-03-2003 10:23 PM
DNS problem with RH 8.0 datamisc Linux - Newbie 2 12-20-2002 12:37 PM
DNS problem Cubiq Linux - Networking 12 09-06-2002 03:42 AM

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

All times are GMT -5. The time now is 04:49 PM.

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