RE: dns

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Suman Nath (sknath@cmu.edu)
Date: 02/01/03


You are right. I have checked the DNS entries, and they all are set to
127.0.0.1.

I think this happened when you tried to run the breakfile commands on the
laptops (where the Protocol.getLocalIP() returns 127.0.0.1).
I do not have a laptop right now, so I cannot check it right now. But here
is an easy way to get arorund it.

Assign the laptop a name using the "hostname <newname>" command (as root).
Then edit the /etc/hosts file to add an antry "<ip> <newname>". This should
solve the problem.

I will see why the laptop does not get a name automatically.

before you user breakfile again, make sure that you first use the "delete"
command to delete the already distributed database and DNS entries.

-----Original Message-----
From: owner-irisnet-course@intel-iris.net
[mailto:owner-irisnet-course@intel-iris.net]On Behalf Of James Newsome
Sent: Saturday, February 01, 2003 12:55 PM
To: irisnet-course@intel-iris.net
Subject: Re: dns

I think (part of?) the problem I'm having is that Protocol.getLocalIP is
failing to get my real IP. getHostName is returning localhost.localdomain,
and the only address it can get for it is 127.0.0.1. Presumably this is
why it isn't updating DNS.

Any ideas how to fix this?

Jim

On Sat, 1 Feb 2003, James Newsome wrote:

> According to the project description document, when we do the 'addfile'
> command, DNS should be updated appropriately. Is this true? It does not
> appear to be happening. In my xml file I have owner-sensor set to my own
> IP, but DNS doesn't seem to be changed.
>
> At this point, CannedQueries is failing because it can't contact the right
> server (WH.CMU.Oakland.jnewsomePTROOT.dsan.net), which resolves to
> 10.212.3.33. This appears to be a default, as any_random_string.dsan.net
> resolves to the same IP.
>
> Thanks,
>
> Jim
>
>
>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 02/01/03 EST