Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

spoofing dns on apache

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache tomcat connector  
Author Message
hugh

External


Since: Mar 05, 2004
Posts: 3



(Msg. 1) Posted: Fri Mar 05, 2004 1:16 pm
Post subject: spoofing dns on apache
Archived from groups: alt>apache>configuration (more info?)

I want to run name based virtual hosts but without setting up a local DNS
server. My connection to the net is via a firewalled adsl router (ip
212.**.**.**) that forwards anything on port 80 to the server (lets say
its 192.168.3.3Cool.

httpd.conf is set up something like this :

NameVirtualHost 192.168.3.38

<VirtualHost 192.168.3.38>
<font color=purple>  ServerName <a style='text-decoration: underline;' href="http://www.blahblah.com</font" target="_blank">www.blahblah.com</font</a>>
  DocumentRoot /home/blahblah/html
</VirtualHost>

With the default server stuff set to an account called default.

I believe that adding the next line to my /etc/hosts file with

192.168.3.38 <a style='text-decoration: underline;' href="http://www.blahblah.com" target="_blank">www.blahblah.com</a>

will fake a DNS server. Does this approach work? I'd like to have this
sorted before the actual domain name is configured to point towards my
adsl ip address. I'm presuming that I use the servers ip address in the
virtual host settings NOT the adsl ip address.......

Thanx



--
/* Hugh Lutley aKa Spewy
* This message was created on either
* Mandrake 9.2 Linux on Athlon XP <- Gnome 2.4 ->
* Slackware 9.1 Linux on P166 <- Command Line Zone ->
*/
(created in ViM)<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: spoofing dns on apache 
Back to top
Login to vote
manu1

External


Since: Mar 04, 2004
Posts: 7



(Msg. 2) Posted: Fri Mar 05, 2004 2:57 pm
Post subject: Re: spoofing dns on apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

your ip is 212.23.31.3 Smile not (ip 212.**.**.**)
hum hum sorry

"Hugh Lutley" <hugh.DeleteThis@richieDELELTETHISBITkotzen.com> a écrit dans le message
news: pan.2004.03.05.10.16.30.690560.DeleteThis@richieDELELTETHISBITkotzen.com...
 > I want to run name based virtual hosts but without setting up a local DNS
 > server. My connection to the net is via a firewalled adsl router (ip
 > 212.**.**.**) that forwards anything on port 80 to the server (lets say
 > its 192.168.3.3Cool.
 >
 > httpd.conf is set up something like this :
 >
 > NameVirtualHost 192.168.3.38
 >
 > <VirtualHost 192.168.3.38>
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.blahblah.com</font" target="_blank">www.blahblah.com</font</a>>
 > DocumentRoot /home/blahblah/html
 > </VirtualHost>
 >
 > With the default server stuff set to an account called default.
 >
 > I believe that adding the next line to my /etc/hosts file with
 >
<font color=purple> > 192.168.3.38 <a style='text-decoration: underline;' href="http://www.blahblah.com</font" target="_blank">www.blahblah.com</font</a>>
 >
 > will fake a DNS server. Does this approach work? I'd like to have this
 > sorted before the actual domain name is configured to point towards my
 > adsl ip address. I'm presuming that I use the servers ip address in the
 > virtual host settings NOT the adsl ip address.......
 >
 > Thanx
 >
 >
 >
 > --
 > /* Hugh Lutley aKa Spewy
 > * This message was created on either
 > * Mandrake 9.2 Linux on Athlon XP <- Gnome 2.4 ->
 > * Slackware 9.1 Linux on P166 <- Command Line Zone ->
 > */
 > (created in ViM)
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: spoofing dns on apache 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 3) Posted: Fri Mar 05, 2004 3:07 pm
Post subject: Re: spoofing dns on apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hugh Lutley <hugh.DeleteThis@richiedeleltethisbitkotzen.com> wrote:
 > I want to run name based virtual hosts but without setting up a local DNS
 > server.

You don't need a local DNS to run a name based vh, someone else need
to run it.

 > httpd.conf is set up something like this :
 > NameVirtualHost 192.168.3.38

Do not use ip addresses, use *.

 > I believe that adding the next line to my /etc/hosts file with
<font color=purple> > 192.168.3.38 <a style='text-decoration: underline;' href="http://www.blahblah.com</font" target="_blank">www.blahblah.com</font</a>>
 > will fake a DNS server. Does this approach work?

Yes, but only on your local machine. If what you want is to test
your system, it will work fine.

Davide

--
| They told me you had proven it When they discovered our results
| About a month before. Their hair began to curl The proof was valid,
| more or less Instead of understanding it But rather less than more.
| We'd run the thing through PRL. He sent them word that we would try<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: spoofing dns on apache 
Back to top
Login to vote
hugh

External


Since: Mar 05, 2004
Posts: 3



(Msg. 4) Posted: Mon Mar 08, 2004 3:56 am
Post subject: Re: spoofing dns on apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 05 Mar 2004 11:57:54 +0100, Manu wrote:

give yourself a chufty badge.

 > your ip is 212.23.31.3 Smile not (ip 212.**.**.**)
 > hum hum sorry
 >
 > "Hugh Lutley" <hugh RemoveThis @richieDELELTETHISBITkotzen.com> a écrit dans le message
 > news: pan.2004.03.05.10.16.30.690560 RemoveThis @richieDELELTETHISBITkotzen.com...
  >> I want to run name based virtual hosts but without setting up a local DNS
  >> server. My connection to the net is via a firewalled adsl router (ip
  >> 212.**.**.**) that forwards anything on port 80 to the server (lets say
  >> its 192.168.3.3Cool.
  >>
  >> httpd.conf is set up something like this :
  >>
  >> NameVirtualHost 192.168.3.38
  >>
  >> <VirtualHost 192.168.3.38>
<font color=green>  >> ServerName <a style='text-decoration: underline;' href="http://www.blahblah.com</font" target="_blank">www.blahblah.com</font</a>>
  >> DocumentRoot /home/blahblah/html
  >> </VirtualHost>
  >>
  >> With the default server stuff set to an account called default.
  >>
  >> I believe that adding the next line to my /etc/hosts file with
  >>
<font color=green>  >> 192.168.3.38 <a style='text-decoration: underline;' href="http://www.blahblah.com</font" target="_blank">www.blahblah.com</font</a>>
  >>
  >> will fake a DNS server. Does this approach work? I'd like to have this
  >> sorted before the actual domain name is configured to point towards my
  >> adsl ip address. I'm presuming that I use the servers ip address in the
  >> virtual host settings NOT the adsl ip address.......
  >>
  >> Thanx
  >>
  >>
  >>
  >> --
  >> /* Hugh Lutley aKa Spewy
  >> * This message was created on either
  >> * Mandrake 9.2 Linux on Athlon XP <- Gnome 2.4 ->
  >> * Slackware 9.1 Linux on P166 <- Command Line Zone ->
  >> */
  >> (created in ViM)
  >>

--
/* Hugh Lutley aKa Spewy
* This message was created on either
* Mandrake 9.2 Linux on Athlon XP <- Gnome 2.4 ->
* Slackware 9.1 Linux on P166 <- Command Line Zone ->
*/
(created in ViM)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: spoofing dns on apache 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Spoofing log files in Apache? - Running 1.3.29 and getting some really odd requests in the log file. Is there any way that apache could be fed bogus ip addresses, page requests, etc??? Thanks! -- =-=-= Doug

ASP.Net on Apache - I have my apache 2 server set up as default out the box as they say running on Linux RH9, I am learning VB.Net and I have got to the part where I require a ASP.NET or an IIS server. Is it possible to configure my apache server for either of the two. ....

Apache with Dot Net? - Can anyone tell me - is Apache fully compliant and compatible with dot net components? I have a web-based application which uses some dot net components and was just wondering if it was safe to switch from IIS to Apache? Thanks, Phli

Apache URL - Hi, I need to be able to control the setting of my web server such that the user cannot type in "http://server_name/somelink". The user should only type in "http://server_name" and then select the link on the site, when he does that ...

Apache NAT - Hi to all, I have an public IP for Apache on external server, and 5 Apache on private network (1 on 1 server). Can I use Apache on public IP for send request to internal Apache with VirtualHost? Example: apache1.foo.com External 200.x.x.x ..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]