Red Hat EL5

On Sat, Sep 5, 2009 at 1:02 PM, Sandeep Kumbhar
<[email protected]>wrote:

> hi
>      What is the OS u r using
> centos or redhat
>
> Thanks & Regards
> Sandeep A. Kumbhar
>
>
>
>
> On Fri, Sep 4, 2009 at 11:47 AM, aniket gadgil <[email protected]>wrote:
>
>>  hii all
>>
>> I want to configure DNS on my network. I am trying to set up a trial
>> domain: aniket.com
>> My IP is 192.168.70.1
>> which is i m going to use as DNS server.
>>
>> i have configured /etc/named.conf file as follows:--
>>
>> //
>> // named.caching-nameserver.conf
>> //
>> // Provided by Red Hat caching-nameserver package to configure the
>> // ISC BIND named(8) DNS server as a caching only nameserver
>> // (as a localhost DNS resolver only).
>> //
>> // See /usr/share/doc/bind*/sample/ for example named configuration files.
>> //
>> // DO NOT EDIT THIS FILE - use system-config-bind or an editor
>> // to create named.conf - edits to this file will be lost on
>> // caching-nameserver package upgrade.
>> //
>> acl aniket.com {192.168.70.0/24; 127.0/8;};
>> options {
>> listen-on port 53 { 192.168.70.1; };
>> listen-on-v6 port 53 { ::1; };
>> directory "/var/named";
>> dump-file "/var/named/data/cache_dump.db";
>> statistics-file "/var/named/data/named_stats.txt";
>> memstatistics-file "/var/named/data/named_mem_stats.txt";
>> query-source port 53;
>> query-source-v6 port 53;
>> allow-query { any; };
>> };
>> // named.rfc1912.zones:
>> //
>> // Provided by Red Hat caching-nameserver package
>> //
>> // ISC BIND named zone configuration for zones recommended by
>> // RFC 1912 section 4.1 : localhost TLDs and address zones
>> //
>> // See /usr/share/doc/bind*/sample/ for example named configuration files.
>> //
>> zone "." IN {
>> type hint;
>> file "named.ca";
>> };
>>
>> zone "localdomain" IN {
>> type master;
>> file "localdomain.zone";
>> allow-update { none; };
>> };
>>
>> zone "localhost" IN {
>> type master;
>> file "localhost.zone";
>> allow-update { none; };
>> };
>>
>> zone "0.0.127.in-addr.arpa" IN {
>> type master;
>> file "named.local";
>> allow-update { none; };
>> };
>>
>> zone "aniket.com" IN {
>> type master;
>> file "aniket.com.zone";
>> };
>>
>> zone "0.168.192.in-add.arpa" IN {
>> type master;
>> file "192.168.0.zone";
>> };
>>
>>
>> I have Configured forward Lookup zone file: /var/named/aniket.com.zone as
>> follow:--
>>
>> $TTL 86400
>> @ IN SOA aniket.com. root (
>> 42 ; serial (d. adams)
>> 3H ; refresh
>> 15M ; retry
>> 1W ; expiry
>> 1D ) ; minimum
>> IN NS aniket.com.
>> aniket.com. IN A 192.168.70.1
>>
>> The Reverse lookup file: /var/named/192.168.0.zone is as follow:--
>>
>> $TTL 86400
>> @ IN SOA linuxserver.aniket.com. root.linuxserver.aniket.com. (
>> 1997022700 ; Serial
>> 28800 ; Refresh
>> 14400 ; Retry
>> 3600000 ; Expire
>> 86400 ) ; Minimum
>> IN NS linuxserver.aniket.com.
>> 1 IN PTR linuxserver.aniket.com.
>>
>>
>>
>>
>> The DHCP daemon is also configured. the /etc/dhcpd.conf file is as
>> follow:--
>>
>> #
>> # DHCP Server Configuration file.
>> # see /usr/share/doc/dhcp*/dhcpd.conf.sample
>> #
>>
>> ddns-update-style interim;
>> ignore client-updates;
>>
>> subnet 192.168.70.0 netmask 255.255.255.0 {
>>
>> # --- default gateway
>> option routers 192.168.70.1;
>> option subnet-mask 255.255.255.0;
>>
>> option nis-domain "aniket.com";
>> option domain-name "aniket.com";
>> option domain-name-servers 192.168.70.1;
>>
>> option time-offset -18000; # Eastern Standard Time
>> # option ntp-servers 192.168.1.1;
>> # option netbios-name-servers 192.168.1.1;
>> # --- Selects point-to-point node (default is hybrid). Don't change this
>> unless
>> # -- you understand Netbios very well
>> # option netbios-node-type 2;
>>
>> range dynamic-bootp 192.168.70.128 192.168.70.254;
>> default-lease-time 21600;
>> max-lease-time 43200;
>>
>> # we want the nameserver to appear at a fixed address
>> # host ns {
>> # next-server marvin.redhat.com;
>> # hardware ethernet 12:34:56:78:AB:CD;
>> # fixed-address 207.175.42.254;
>> # }
>> }
>>
>>
>> But still when i do:
>> #host 192.168.70.1
>> i get error msg:--
>> ;; connection timed out; no servers could be reached
>>
>> Can anyone help me??
>> What am i doing wrong????
>> Plz help!!!
>>   <http://forums.fedoraforum.org/editpost.php?do=editpost&p=1260805>
>
>
>

Reply via email to