Re: can't use dns to access server within the firewall

From: MZ (zarellam_at_twcnyremove.rr.comspam)
Date: 10/12/04

  • Next message: MZ: "Re: Setting up IMAP server?"
    Date: Tue, 12 Oct 2004 00:22:28 -0400
    
    

    Another thing occurred to me... Could the samba server be somehow screwing
    things up? After all, I can ping the FBSD machine using the samba name. I
    can ping it using the local IP address. The only problem is trying to ping
    it by using the IP address that I normally use to access it from outside the
    network. Could it also be an issue with my router? As I mentioned
    previously, everything is running off a hardware router which serves as the
    default gateway IP and does the port forwarding, etc.

    -- 
    Mark
    remove "remove" and "spam" to reply
    "Bill Vermillion" <bv@wjv.com> wrote in message news:I5E9v5.xov@wjv.com...
    > In article <ZYednfxz69lvO_TcRVn-gQ@giganews.com>,
    > MZ <zarellam@twcnyremove.rr.comspam> wrote:
    > >> If you read the man page on 'hosts' you will see that the format
    > >> is IP, fully qualified name, and then alias.
    >
    > >> I've seen some systems where it dislikes having the alias first.
    > >> I doubt that is the problem here, but you could try reversing
    > >> it to match the specifications.
    >
    > >Thanks for the suggestion.  Unfortunately, it still doesn't work.
    >
    > >> Do you have the 'domain' line in resolv.conf?  That would be
    > >> above the lines of your name servers.
    >
    > >No, all I've got is:
    >
    > >search Home
    > >nameserver 192.168.X.X
    >
    > >I'm not sure what "Home" is.  It used to be the workgroup name of the
    samba
    > >share, but I've since changed it.  Should I change that value in
    > >resolv.conf?  What else should I add?
    >
    > There is a man page for   resolv.conf that might answer your
    > questions.   I've never used the search directive.
    > If you put in the domain directive then, as stated in the man page,
    > you can use short names for the machine and the domain name is
    > appened to that.
    >
    > You only have one name server?  You are not going out to the global
    > net at all?
    >
    >
    > >> Does /etc/host.conf
    > >> have  the word "hosts" on a line before the word "bind"?
    >
    > >I don't have a host.conf. I have a hosts, and it does not include
    > >the words bind or hosts. Hosts contains the following lines:
    >
    > I don't know why you don't have host.conf.  Here is mine.
    >
    > # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
    > # First try the /etc/hosts file
    > hosts
    > # Now try the nameserver next.
    > bind
    > # If you have YP/NIS configured, uncomment the next line
    > # nis
    >
    > >::1 localhost localhost.<mydomain>
    > >127.0.0.1 localhost localhost.<mydomain>
    > >192.168.X.X server.<mydomain> server
    > >192.168.Y.Y laptop.<mydomain> laptop
    >
    > ><mydomain> is the DNS entry for the IP address of my home network.
    >
    > And to answer the question in the other post related to this
    > the first entry - the ::1  is the IPv6 entry which is equivalent
    > for V6 as the 127.0.0.1 is for IPv4.
    >
    > Bill
    > -- 
    > Bill Vermillion - bv @ wjv . com
    

  • Next message: MZ: "Re: Setting up IMAP server?"

    Relevant Pages

    • Re: annoying domain.local issue
      ... Both Fedora and Windows use the same DNS and same default gateway. ... And does that DNS server have an answer for queries to that domain name? ... ping doesn't work from Fedora; ... The /etc/nsswitch.conf has a hosts section which lists the places to ...
      (Fedora)
    • Re: ping hostname failed while ping IP_Address working Options
      ... I checked the ipnodes of other SunFire Servers they are same as above. ... # DNS for hosts lookups, otherwise it does not use any other naming service. ... then ping mytest should work. ... the ping to the hostname of the Server and ping to the hostname of any ...
      (SunManagers)
    • Re: annoying domain.local issue
      ... Both Fedora and Windows use the same DNS and same default gateway. ... And does that DNS server have an answer for queries to that domain name? ... ping doesn't work from Fedora; ... The /etc/nsswitch.conf has a hosts section which lists the places to ...
      (Fedora)
    • Re: smtp and mmdf
      ... :>|>| I have rsquared.com in the hosts file. ... :>|>| trying to send to a mail server within the same domain, ... I believe my problem lies with DNS, ... :>|>Can you ping jpradley.jpr.com? ...
      (comp.unix.sco.misc)
    • Re: FC6 and Samba
      ... Well, some days ago i installed samba, i m doing testing with localhost... ... server; but any user i create after and try to connect samba, ... hosts allow should also include the network for the TCP/IP lan. ...
      (Fedora)