Cannot resolve DNS from the windows

From: wahid (wahiddxb_at_yahoo.com)
Date: 11/09/05


Date: 9 Nov 2005 06:23:02 -0800

Hi Guys,

I have configured LAN DNS with Red Hat 9.0. Everything seems ok with
the Linux box and I am able to ping the DNS and able to browse with the
DNS in the Linux box itself but none of this is working from windows. I
can only ping with the IP address...but not with the DNS. Ipconfig
shows all the entries properly. I need to resolve the DNS so that I can
connect all my LAN windows pcs with the LAN DNS done in Linux.

I will appreciate if anyone among you can help me to sort out this
problem. I am pasting all configuration files below:

********************dhcpd.conf START***********************************
ddns-update-style interim;
subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.50 192.168.0.225;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.0.1;
option ip-forwarding off;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.0.1;
option domain-name "crystalgallery.co.ae";
option nntp-server 192.168.0.1;
option netbios-name-servers 192.168.0.1;
}
********************dhcpd.conf END***********************************

********************named.conf START***********************************
options {
 directory "/var/named";
};

acl "mylan" {
        127/8; 192.168.0.0/8;
};

view "inside" {
        match-clients { "mylan"; };
        recursion yes;

        zone "." IN {
        type hint;
        file "named.ca";
        };

        zone "0.168.192.in-addr.arpa" IN {
        type master;
        file "yourlan.db";
        };

        zone "crystalgallery.co.ae" {
        type master;
        file "db.crystalgallery.co.ae.inside";
        allow-transfer { 192.168.0.2; };
        };

};

include "/etc/rndc.key";
********************named.conf END***********************************

********************db.crystalgallery.co.ae.inside
START***********************************
$TTL 86400
@ IN SOA crystalgallery.co.ae. www.crystalgallery.co.ae. (
                                        42 ; serial (d. adams)
                                        3H ; refresh
                                        15M ; retry
                                        1W ; expiry
                                        1D ) ; minimum

        IN NS www.crystalgallery.co.ae.
        IN MX 10 mail.crystalgallery.co.ae.

www IN A 192.168.0.1
********************db.crystalgallery.co.ae.inside
END***********************************

********************yourlan.db START***********************************
$TTL 86400
@ IN SOA crystalgallery.co.ae. www.crystalgallery.co.ae.
 (
                                      1997022700 ; Serial
                                      28800 ; Refresh
                                      14400 ; Retry
                                      3600000 ; Expire
                                      86400 ) ; Minimum
              IN NS www.crystalgallery.co.ae.
1 IN PTR crystalgallery.co.ae.
********************yourlan.db END***********************************

********************resolv.conf
START***********************************
search crystalgallery.co.ae
nameserver 192.168.0.1
********************resolv.conf END***********************************

********************resolv.conf
START***********************************
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.1 www.crystalgallery.co.ae www
********************hosts END***********************************

Regards,
Wahid



Relevant Pages

  • Re: Web Server Behind A DHCP Router
    ... > I can ping the Linux using 192.168.1.150, ... > I also got some dns - server numbers I got ... > first attempt at setting up a Linux web server! ...
    (linux.redhat)
  • Re: Networking problems (again) tough one
    ... The problem *only* occurs on my Linux machines. ... DNS numbers, ... all systems start working again whether setup manually or with DHCP. ... If theu are shoing good, and yet things dont work, you may have a misconfigured router. ...
    (comp.os.linux.setup)
  • Re: Networking problems (again) tough one
    ... The problem *only* occurs on my Linux machines. ... DNS numbers, ... Turned out the only reason my manual settings had worked was simply because I had been fooling with it for two ... all systems start working again whether setup manually or with DHCP. ...
    (comp.os.linux.setup)
  • Re: Networking problems (again) tough one
    ... The problem *only* occurs on my Linux machines. ... DNS numbers, ... all systems start working again whether setup manually or with DHCP. ... I assume the linux machines are getting DHCP stuff right? ...
    (comp.os.linux.setup)
  • RE: DNS not responding
    ... The Cisco commands simply accomplish port mapping, ... so that all DNS requests are sent to my linux box (since obviously the ... router isn't serving my dns zone). ... > router, which is why I've moved to this setup. ...
    (RedHat)