Networking Forums

Networking Forums > Computer Networking > Linux Networking > Very wierd problem

Reply
Thread Tools Display Modes

Very wierd problem

 
 
Marty Phee
Guest
Posts: n/a

 
      08-09-2005, 05:01 PM
Things don't seem to be resolving properly with http.

If I type in www.arnfest.org my browser just sites there. If I do a dig
I get... Which looks good.

;; ANSWER SECTION:
arnfest.org. 4698 IN A 162.83.94.176

;; AUTHORITY SECTION:
arnfest.org. 4698 IN NS NS86.WORLDNIC.COM.
arnfest.org. 4698 IN NS NS85.WORLDNIC.COM.

;; ADDITIONAL SECTION:
NS86.WORLDNIC.COM. 1943 IN A 216.168.225.226

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Aug 9 11:56:12 2005
;; MSG SIZE rcvd: 111

If I type 162.83.94.176 into the address I go to
http://www.merchantsoft.com/.

Any idea what's going on?

named.conf
options {

# The directory statement defines the name server's working
directory

directory "/var/lib/named";

# Write dump and statistics file to the log subdirectory. The
# pathenames are relative to the chroot jail.

dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";

# The forwarders record contains a list of servers to which queries
# should be forwarded. Enable this line and modify the IP
address to
# your provider's name server. Up to three servers may be listed.
forwarders { 206.141.192.60; 206.141.193.55; };

#forwarders { 192.0.2.1; 192.0.2.2; };

# Enable the next entry to prefer usage of the name server
declared in
# the forwarders section.

forward only;

# The listen-on record contains a list of local network
interfaces to
# listen on. Optionally the port can be specified. Default is to
# listen on all interfaces found on your system. The default
port is
# 53.

#listen-on port 53 { 127.0.0.1; };

# The listen-on-v6 record enables or disables listening on IPv6
# interfaces. Allowed values are 'any' and 'none' or a list of
# addresses.

#listen-on-v6 { any; };

# The next three statements may be needed if a firewall stands
between
# the local server and the internet.

query-source address * port 53;
transfer-source * port 53;
notify-source * port 53;

# The allow-query record contains a list of networks or IP
addresses
# to accept and deny queries from. The default is to allow queries
# from all hosts.
# If notify is set to yes (default), notify messages are sent to other
# name servers when the the zone data is changed. Instead of
setting
# a global 'notify' statement in the 'options' section, a separate
# 'notify' can be added to each zone definition.

notify no;
};

#allow-query { 127.0.0.1; };
 
Reply With Quote
 
 
 
 
Frank Sweetser
Guest
Posts: n/a

 
      08-09-2005, 05:06 PM
Marty Phee <(E-Mail Removed)> wrote:
> Things don't seem to be resolving properly with http.
>
> If I type in www.arnfest.org my browser just sites there. If I do a dig
> I get... Which looks good.
>
> ;; ANSWER SECTION:
> arnfest.org. 4698 IN A 162.83.94.176
>
> ;; AUTHORITY SECTION:
> arnfest.org. 4698 IN NS NS86.WORLDNIC.COM.
> arnfest.org. 4698 IN NS NS85.WORLDNIC.COM.
>
> ;; ADDITIONAL SECTION:
> NS86.WORLDNIC.COM. 1943 IN A 216.168.225.226
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Aug 9 11:56:12 2005
> ;; MSG SIZE rcvd: 111
>
> If I type 162.83.94.176 into the address I go to
> http://www.merchantsoft.com/.


Your DNS is working fine, it's the remote HTTP server that's doing it to you.
It's returning a document that is redirecting your browser to
www.mergantsoftware.com.

$ telnet 162.83.94.176 80
Trying 162.83.94.176...
Connected to 162.83.94.176.
Escape character is '^]'.
GET / HTTP/1.1
host: 162.83.94.176

HTTP/1.1 200 OK
Date: Tue, 09 Aug 2005 17:03:50 GMT
Server: Xb2.NET/1.0.04
Connection: Close
Last-Modified: Thu, 04 Mar 2004 15:36:44 GMT
Content-Type: text/html
Content-Length: 231

<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>
Merchant Software Corp
</TITLE>
<META http-equiv="refresh" content="1; Url=http://www.merchantsoft.com">
</HEAD>
<BODY>
</BODY>
</HTML>Connection closed by foreign host.

--
Frank Sweetser fs at wpi.edu | For every problem, there is a solution that
WPI Network Engineer | is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC
 
Reply With Quote
 
Marty Phee
Guest
Posts: n/a

 
      08-09-2005, 05:10 PM
Thanks I'll check that out. I was just assuming it was my problem.
couldn't figure it out.


Frank Sweetser wrote:
> Marty Phee <(E-Mail Removed)> wrote:
>
>>Things don't seem to be resolving properly with http.
>>
>>If I type in www.arnfest.org my browser just sites there. If I do a dig
>>I get... Which looks good.
>>
>>;; ANSWER SECTION:
>>arnfest.org. 4698 IN A 162.83.94.176
>>
>>;; AUTHORITY SECTION:
>>arnfest.org. 4698 IN NS NS86.WORLDNIC.COM.
>>arnfest.org. 4698 IN NS NS85.WORLDNIC.COM.
>>
>>;; ADDITIONAL SECTION:
>>NS86.WORLDNIC.COM. 1943 IN A 216.168.225.226
>>
>>;; Query time: 2 msec
>>;; SERVER: 127.0.0.1#53(127.0.0.1)
>>;; WHEN: Tue Aug 9 11:56:12 2005
>>;; MSG SIZE rcvd: 111
>>
>>If I type 162.83.94.176 into the address I go to
>>http://www.merchantsoft.com/.

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wierd problem doode Wireless Internet 0 09-13-2008 03:36 AM
wierd internet problem soparko@gmail.com Linux Networking 3 01-11-2007 08:00 PM
WPA-PSK wierd problem GB Wireless Internet 8 07-25-2006 03:41 PM
Wierd Problem Andrew C Wireless Networks 0 09-05-2005 09:34 PM
Wierd problem with BTOpenworld matts Broadband 0 01-15-2004 07:40 AM



1 2 3 4 5 6 7 8 9 10 11