Another "Why won't DNS work" question.

Another "Why won't DNS work" question.

Post by Laurence Lindstro » Sun, 06 Jun 1999 04:00:00



Hi Experts:

   I'm trying to add client side DNS to a web server I'm building.  
The system is X86 Solaris 7.  

   I've done resolve.conf:

        domain bla-bla.com
        nameserver 12.127.17.72
        nameserver 12.127.16.68

   nsswitch.conf has:

        hosts:      files dns

   And I created /etc/defaultrouter.  The only thing in it is the
router's ip address.  Nothing else.  netstat -rn reports:  

Routing Table:
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ --------
12.18.79.64          12.18.79.68           U        3      0  lxl0
224.0.0.0            12.18.79.68           U        3      0  lxl0
default              12.18.79.65           UG       0      0
127.0.0.1            127.0.0.1             UH       0   2529  lo

   So the router seems to be represented.  I wonder why it doesn't
have an interface entry.  

   Anyway, I can ping any IP address through the router, I can use
IP addresses in Netscape, but the host isn't found if I call it by
name.  

   I'm new to web servers and network issues.  So I suppose I'm
doing some newbie stupid mistake.  

   I selected "other" for name services when setting up the machine.  
Do I need to do something to start a client side bind, or resolver?  

   This is an NT/WIN98 shop, the router is NT.  The web server is
the only Unix box at the site.  

   Sorry for being one of thousands lost on this issue, but I've
looked at the Solaris FAQ and the Answerbook, I just dont' get it.  

                                                           Thanks
                                                           Larry

 
 
 

Another "Why won't DNS work" question.

Post by Leonid Belo » Mon, 07 Jun 1999 04:00:00



> Hi Experts:

>    I'm trying to add client side DNS to a web server I'm building.
> The system is X86 Solaris 7.

>    I've done resolve.conf:

>         domain bla-bla.com

It should be

        search bla-bla.com

instead of "domain"

Quote:

>         nameserver 12.127.17.72
>         nameserver 12.127.16.68

>    nsswitch.conf has:

>         hosts:      files dns

<skipped>

Hope this helps

Leonid

 
 
 

Another "Why won't DNS work" question.

Post by Cameron Lemo » Mon, 07 Jun 1999 04:00:00


He had it right the first time.  It should be domain.  He can also include
the search directive, but wouldn't put his own domain after it.


>> Hi Experts:

>>    I'm trying to add client side DNS to a web server I'm building.
>> The system is X86 Solaris 7.

>>    I've done resolve.conf:

>>         domain bla-bla.com

>It should be

>        search bla-bla.com

>instead of "domain"

>>         nameserver 12.127.17.72
>>         nameserver 12.127.16.68

>>    nsswitch.conf has:

>>         hosts:      files dns

><skipped>

>Hope this helps

>Leonid

 
 
 

Another "Why won't DNS work" question.

Post by Laurence Lindstro » Mon, 07 Jun 1999 04:00:00


Thanks for your input everybody.  

   Ric Anderson pointed out that I misspelled resolv.conf in
my posting.  I spelled it "resolve.conf".  

   It's Sunday, and I don't have access to the server until
Monday.  I'm not sure of how I spelled the filename on the
server, but right now, I think that's the most likely place
to look.  I'll post again if the problem persists.  

   Again, thanks.  This is my first web server, and I've yet
to set up sendmail.  So I expect to have some more questions
in the next week.  As with this question, I'll look to the
FAQ and Dejanews first.  

                                                       Larry

 
 
 

Another "Why won't DNS work" question.

Post by Laurence Lindstro » Tue, 08 Jun 1999 04:00:00



> Thanks for your input everybody.

>    Ric Anderson pointed out that I misspelled resolv.conf in
> my posting.  I spelled it "resolve.conf".

   That was it, the "e" in "resolve.conf".  Now I'm the *of
the NT guy's Dan Quail jokes.  : )

   Thanks again.

                                                        Larry

 
 
 

1. Why doesn't echo "text" 'command' "more text" work?

                 ^                                        ^
Wrong quotes, should be -
   echo "You have" `grep Subject: /usr/spool/mail/me | wc -l` "messages."
or -
   echo "You have `grep Subject: /usr/spool/mail/me | wc -l` messages."

But, another problem is, if you've no mail, /usr/spool/mail/me does not
exist, leading grep to say:
   grep: can't open /usr/spool/mail/me
Wc will still report 0.

You might try -
   sh -c 'echo "You have `grep 2>/dev/null Subject: /usr/spool/mail/me | wc -l` messages."'

Hope this helps.

2. Connection to another RH box.

3. uugetty_ps segmentation faults...

4. Why won't "cd" work in my shell

5. cc on x86 Solaris 2.7...?

6. WHY 'exec "$REALFILE" ${1+"$@"}'

7. Linux as an F/R Router?

8. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

9. GETSERVBYNAME()????????????????????"""""""""""""

10. "X won't work"-type newbie question

11. Why won't ld traverse it's "standard" path?

12. Why "fdisk /dev/hdb1" works but not "fdisk /dev/hdb"!?