• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

2 hostnames assigned by default to 127.0.0.1

drupaladdict

New Member
Joined
Jun 30, 2012
Messages
5 (0.00/day)
My OS: Windows 7 professional 64bit

Developing Drupal 6 sites locally using XAMPP 1.7.1.

I discovered localhost (127.0.0.1) is accessible either by typing: "http://localhost" or "http://kat.ph" (?). :wtf:

Where "http://kat.ph" comes from? :eek:

I opened my "hosts" file on Windows and it is not listed there. I checked "httpd-vhosts.conf" out (\xampp\apache\conf\extra\httpd-vhosts.conf), but it is not there either.

I had this problem before restoring completely my system through recovery discs.

After restoring completely my Windows operating system, the issue is still there. :banghead:

I have made a computer scan using the Windows Malware Removal Tool, Eset Nod32 AV 5 (installed on my machine) and even Eset Nod32 online scanner. Result: no threats found. :shadedshu

It seems like two default hostnames have been assigned to 127.0.0.1.

How can I get rid of "http://kat.ph" pointing to 127.0.0.1? :cry:

I want only "http://localhost" to be mapped to 127.0.0.1. :cry:

Thanks,
Arnold. :)
 
start -> cmd -> nslookup -> set q=any -> kat.ph

Code:
Non-authoritative answer:
kat.ph
        primary name server = ns0.kat.ph
        responsible mail addr = root.kat.ph
        serial  = 2012062808
        refresh = 10800 (3 hours)
        retry   = 900 (15 mins)
        expire  = 604800 (7 days)
        default TTL = 86400 (1 day)
kat.ph  text =

        "v=spf1 +a include:mail.kat.ph ~all"
kat.ph  MX preference = 10, mail exchanger = mail.kat.ph
kat.ph  nameserver = ns4.kat.ph
kat.ph  nameserver = ns7.kat.ph
kat.ph  nameserver = ns5.kat.ph
kat.ph  nameserver = ns6.kat.ph
kat.ph  nameserver = ns3.kat.ph
kat.ph  nameserver = nsa.kat.ph
kat.ph  nameserver = ns9.kat.ph
kat.ph  nameserver = ns8.kat.ph
kat.ph  nameserver = ns1.kat.ph
kat.ph  internet address = 195.3.147.99
kat.ph  internet address = 78.138.97.181
kat.ph  internet address = 109.163.227.73
kat.ph  internet address = 193.105.134.194

that's what i get here
 
i am assuming you live in the philippines? if so then that is your DNS server setup through your ISP i believe.
 
Hi W1zzard and Easy Rhino. Thanks for your fast reply.

I live in Europe.

I typed the following at the command prompt:

Code:
C:\>nslookup -q=any kat.ph

Here is the value returned from the prompt:

Code:
kat.ph
        primary name server = localhost
        responsible mail addr = root.localhost
        serial  = 2012062900
        refresh = 3600 (1 hour)
        retry   = 1800 (30 mins)
        expire  = 2419200 (28 days)
        default TTL = 60 (1 min)
kat.ph  nameserver = localhost
kat.ph  internet address = 127.0.0.1

What's happen here? It makes no sense at all. :banghead:

Bye.
 
What reply? Nothing has been removed from this thread.
 
Yes it's true.

I posted my reply again and it appeared.

Maybe I made a mistake when I sent my reply the first time.

Everything is ok, thanks.
 
I do believe that kat.ph is the site for KickAss Torrents. Do you use their torrent sites?
 
I have installed XAMPP 1.7.1 on top of a clean Windows 7 64bit OEM installation through recovery discs.

I haven't any torrent client installed or running on my machine.
 
some posts not showing up is our anti-spam software for new users. those posts will get approved as soon as a moderator sees them

--

are you sure your hosts file doesn't have an entry for kat.ph ?
 
You can block unwanted sites using your host file. If you use Spybot and use immunize it alters your host file to block dangerous sites. Example:
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost
# Start of entries inserted by Spybot - Search & Destroy
127.0.0.1	www.sitetoblock.com
# This list is Copyright 2000-2008 Safer Networking Limited
# End of entries inserted by Spybot - Search & Destroy

just remove the line that points that site to 127.0.0.1. Remember 127.0.0.1 is home/localhost. :toast:
 
I found out what happened (unbelievable). :twitch:

This is the proof Western democracies are slowly
falling into China-like dictatorships while people
keep on sleeping. :shadedshu

</rant> :rolleyes:

I connected another PC to the Internet and...
guess what? The same problem arose. :banghead:

To cut a long story, my ISP (Telecom Italia) has
blocked some sites, they are not accessible at all. :mad:

If you connect to those sites while a local server
is NOT running, you are presented with a "Page not found"
error. :rockout:

But, if a local server like Apache is running on your machine
and you try to connect to a given censored site, you are
redirected to 127.0.0.1 (localhost)
.

I have had the confirm of this by trying to connect to
a different censored site (kickasstorrents.com) while Apache
was running. Same behaviour as kat.ph (that is, I am redirected
to 127.0.0.1 (localhost).

No virus, no bug, nothing like that. It's simple, old-fashioned,
tyrannical, iilegal, China-style CENSORSHIP
. :mad:

Bye,
Arnold :)
 
Back
Top