Wierd DNS(I think) problem

Ed Nowicki enowicki at ptd.net
Thu Sep 30 18:43:25 UTC 1999


I tried posting the following in comp.os.linux.networking with no success.
Does anyone have any ideas.

Thanks
Ed Nowicki
enowicki at consonance.com

**********
*Initial Post
**********
Help!: RH6.0 & pump-0.7.0-1.i386.rpm & DOXport 1000 Cable Modem Problem

<scratch> I'm not sure what to try next, can someone help me?

Configuration:
RH 6.0
eth0: SMC EtherPower 8423BT (tulip) connected to cable modem (using pump)
eth1: SMC EtherPower 8432BT (tulip) connected to LAN (192.168.1.1)
pump-0.7.0-1.i386.rpm installed.
*no* routing or gateway info entered
name resolution search list configured as : hosts then dns

Status:
- ifconf reports vaild Dynamic IP Addr @ eth0 and 192.168.1.1 @ eth0 and
local loopback (looks good)
-eth0 & eth1 interfaces both come up(down) in startup(shutdown).
- can ping to LAN and internet with any valid IP addresses.
- /etc/resolv.conf is seeded with correct Name Server  info from DHCP packet
stuff.

Problem:
If i ping or go into netscrape with any URL that begins with www (i.e.
www.dogpile.com) no name resolution occurs (i.e. netscrape times out).
However if I type in (or ping) dogpile.com, I get vaild DNS resolution and
get connected to the server.

Any Ideas what's going on?
Is there something I need with the routing or gateway stuff??
Am I just nutz?

Thanks
enowicki at consonance.com


********
* Reply
********
> Any Ideas what's going on?
> Is there something I need with the routing or gateway stuff??

I wouldn't think so...

> Am I just nutz?

Sounds likely.... :-)

What does your /etc/resolv.conf file look like after it is built by your
DHCP client?

Have you tried playing around with nslookup to understand what is going
on?

-Tom


********
* Reply
********
( cat /etc/resolv.conf >> this 2>> thisfile )

search msns.leh.ptd.net leh.ptd.net ptd.net
nameserver 204.186.0.201
nameserver 204.186.0.202
nameserver 24.229.12.230


( nslookup snap.com >> thisfile 2>> thisfile )
Server:  dns1.ptd.net
Address:  204.186.0.201

Non-authoritative answer:
Name:    snap.com
Addresses:  206.132.166.63, 206.132.166.68, 206.132.166.69, 206.132.166.61
   206.132.166.62


( nslookup www.snap.com >> thisfile 2>> thisfile )
Server:  dns1.ptd.net
Address:  204.186.0.201

*** dns1.ptd.net can't find www.snap.com: No response from server


( nslookup yahoo.com >> thisfile 2>> thisfile )
Server:  dns1.ptd.net
Address:  204.186.0.201

Non-authoritative answer:
Name:    yahoo.com
Addresses:  204.71.200.243, 204.71.200.245


( nslookup www.yahoo.com >> thisfile 2>> thisfile )
Server:  dns1.ptd.net
Address:  204.186.0.201

*** dns1.ptd.net can't find www.yahoo.com: No response from server




********
* Reply
********

Pretty amazing. Are you only seeing this from systems in the 192.168.1.0
network or do you see it from the Linux gateway as well? Also, do you
have any firewall rules defined on the gateway?

FWIW, I just connected to dns1.ptd.net and was able to resolve
www.yahoo.com so the problem doesn't occur on that NS.

-Tom
--

********
* Reply
********
I issued all commands from the linux console (the one with eth0 & eth1).

I have a dual boot on this computer W95/RH6, in W95 I have no dns problems.

Listed below are some of my network settings.  I used a windows utility
(winipcfg) to find my ISPs gateway addr and tried shoving it in the default
gateway setting below.

Any ideas?  Do you want to try to telnet to my machine.  Thanks for your
help.

Ed Nowicki
717-445-0357


=== Here is some of my network configuration ===


These are my settings (as viewed from 'netconf' ).

*** Basic Host Information ***
Host Name
 cnowicki.conson.com

Adapter 1
 Enabled
 Config mode DHCP
 Primary name + domain (empty )
 Aliases (empty)
 IP address (empty)
 Netmask (empty)
 Net device eth0
 Kernel module tulip
 I/O port (empty)
 Irq (empty)

Adapter 2
 Enabled
 Config mode Manual
 Primary name + domain cnowicki.conson.com
 IP address 192.168.1.1
 Netmask 255.255.255.0
 Net device eth1
 Kernel module tulip
 I/O port (empty)
 Irq (empty)

Adapter 3-5
 *not* enabled

*** Name server specificatioin (DNS)
DNS Usage - DNS is required for normal operation
default domain (empty)
nameserver 1 204.186.0.201
nameserver 2 204.186.0.202
nameserver 3 24.229.12.230
search domain 1 msns.leh.ptd.net
search domain 2 leh.ptd.net
search domain 3 ptd.net

*** Routing and Gateways ***
Set Defaults button - default gateway 24.229.49.1 Enable routing is pushed
on
(note: I manually placed this In here when I found out my ISPs gateway)
Set other routes to networks (empty)
Set other routes to hosts (empty)
Set routes to alternale local nets (empty)
Configure the routed daemon (does no export any routes

*** Host name search path ***
Multiple IPs for one host (pushed on)
hosts, dns (pushed on)

*** Network Information System ***
(empty)

*** IPX interface setup ***
IPX networking (disabled)

*** PPP/SLIP/PLIP ***
One PPP is configured


here is my host.conf file


order hosts, bind
multi on

here is my /etc/hosts file

127.0.0.1 localhost localhost.localdomain
192.168.1.1 cnowicki.conson.com cnowicki

here is my ifconfig output

eth0      Link encap:Ethernet  HWaddr 00:00:C0:67:24:E5
          inet addr:24.229.49.121  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0xf480

eth1      Link encap:Ethernet  HWaddr 00:E0:29:0D:5C:3A
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:5 Base address:0xf400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0


here is my /proc/interrupts file


           CPU0
  0:     212809          XT-PIC  timer
  1:       4368          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:         10          XT-PIC  eth1
  8:          2          XT-PIC  rtc
  9:         44          XT-PIC  eth0
 11:          1          XT-PIC  cyclomY
 12:      31130          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:      81383          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0


********
* Reply
********
Ed, I'm afraid I'm out of ideas. I don't see anything wrong with your
setup.

You might try posting on comp.protocols.dns to see if anyone there can
help you.

Sorry,
-Tom






More information about the bind-users mailing list