Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re: Development Server

To: <itools@xxxxxxxxxxxxxxx>
Subject: Re: Development Server
From: <samtools@xxxxxxxx>
Date: Fri, 30 May 2003 05:54:35 -0700
> I use my laptop as a development server with iTools7 and WebDNA installed. I
> was wondering if anyone had ever managed to get the DNS working so I could
> set up some virtual hosts on the machine. It would not be connected to a
> network at the time so it has to do everything.ddd

I do this too on my portable. It's tough to get the DNS working but it can
be done. But it is a gas to be ridding down the freeway running apache and a
browser entering URLs like: http://g3pb.me/.

The weirdness is because OS X is so smart. It runs something called config
that checks the network connections on boot and configures the Network
settings accordingly. So if there's no connection it doesn't configure the
network.

The first thing I do after booting without a network connected is add a line
to /etc/resolv.conf. This is where the nameserver entry from the Network
control panel is written by config and the place every UNIX, Unix, unix I've
ever used needs to have it.

Add this line to /etc/resolv.conf or /var/run/resolv.conf (samething):

nameserver 127.0.0.1

Then I pound all over the command line till it works:

root# lookupd -flushcache
root# ndc reload // restarts the namesever but needs fixing on OS X with
some symlinks.
root# ifconfig -a //shows network connections
% nslookup
 If you run nslookup and it just hangs you need to fix things, probably the
reverse zone files. I don't know if you need nslookup to  work I just use it
as a way to see if some things are configured correctly.

If you reboot you'll have to do it again.

If your head is spinning from the stuff above I've heard of people getting
it to go by just plugging in an ethernet cable (probably with a hub).

I don't really know what I'm talking about I just google a lot.

---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to 
itools-request@xxxxxxxxxxxxxxx
with the body only containing: 
unsubscribe
Find the searchable mailing list archives 
at:
http://itools.blackpepper.co.nz/                               

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists