Re: Problems with DNS

From: Glenn Dawson (glenn_at_antimatter.net)
Date: 08/12/05

  • Next message: Dmitry Mityugov: "differences in supported filesystems between FreeBSD versions"
    Date: Thu, 11 Aug 2005 22:40:05 -0700
    To: perikillo <perikillo@gmail.com>, freebsd-questions@freebsd.org
    
    

    At 10:07 PM 8/11/2005, perikillo wrote:
    > HI all.
    >
    > I have one freebsd box running 5.3, i get my IP from one internal
    >DHCP running NT 4.0, here we have one PDC on NT 4.0, to get to the
    >outside we pass thru one http proxy and one firewall, i have my user
    >and password for the proxy, i want to get outside, i install manually
    >the cvsup program, i download that one from another machine and burn
    >the file on that machine because i cannot made my freebsd box reach
    >internet.
    >
    > I already setup this variables:
    >
    > /root/.cshrc
    > setenv HTTP_PROXY http://myuser:mypass@192.168.1.2:3128
    > setenv FTP_PROXY http://myuser:mypass@192.168.1.2:3128
    >
    > /etc/make.conf
    >
    > FETCH_ENV= HTTP_PROXY=http://myuser:mypass@192.168.1.2:8080
    > FETCH_ENV= FTP_PROXY=http://myuser:mypass@192.168.1.2:8080
    >
    > i have my NIC setup on /etc/rc.conf to get the IP from my DHCP
    >server, and found my lease on /var/db/dhcp.lease
    >
    > There i see my info, my domain, i create my /etc/resolv.conf and
    >input my domain:
    >
    >nameserver MYDOMAIN <----My lease have this

    Your DHCP server should supply the IP address (not a domain name) for the
    name server you are supposed to use. You shouldn't have to create
    /etc/resolv.conf manually.

    If the name server that you are supposed to use is 1.2.3.4, then your
    resolv.conf should have a line that looks like:

    nameserver 1.2.3.4

    Typically, you will also have a line that lists domains to search in order
    to resolve host names that aren't fully qualified. It would look similar to:

    search firstdomain.com seconddomain.com

    But again, that line isn't required.

    > But went i run cvsup, say that it cannot resolved hostname, i
    >really dont know what more to do, i read the handbook, but dont find
    >any good info on the DHCP setup, only talk about the server but not
    >about how to setup the client, only say some files, dhcp.conf, etc.
    >
    > I need to setup those files...?

    To run the client, all you need is a line in your rc.conf that would look
    similar to:

    ifconfig_fxp0="DHCP"

    where fxp0 would be replaced with whatever the device name is for your
    ethernet interface.

    -Glenn

    > I dont have any packages install, because i cannot reach Internet,
    >i was thinking this was simply, but i dont know what iam doing wrong,
    >some tips about my problem...?
    >_______________________________________________
    >freebsd-questions@freebsd.org mailing list
    >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Dmitry Mityugov: "differences in supported filesystems between FreeBSD versions"

    Relevant Pages

    • Re: freebsd network fax server?
      ... I was wondering if FreeBSD could relay or act as a network fax ... and another machine that's a print server. ... I've got a setup using HylaFAX. ...
      (freebsd-questions)
    • Re: redirection on IIS
      ... I did setup the seocnd site but dont know ... how to redirect that, can someone help me on that? ... >> There is no setting for site2 on our new web server any ...
      (microsoft.public.inetserver.iis)
    • Administrator rights and Windows XP
      ... SQL server and one as a file server. ... When I setup an XP machine it is a different ... control of the domain administrative privledges but I also dont want to have ... workstations and dont want to until I can find a "fix" for this issue. ...
      (microsoft.public.windowsxp.security_admin)
    • Re: IMAP set up how to
      ... > wondering about setting up an IMAP server on my RH9 mail server which ... From what I gather IMAP would be neater. ... I have imap setup but I dont use it often (and i think it was installed ...
      (RedHat)
    • [RFE] dhclient(8) should send hostname
      ... I tried to setup a new FreeBSD 6.1-BETA2 client and enabled in ... sysinstall DHCP configuration for the interface. ... "Internet Systems Consortium DHCP Server V3.0.3" ... setup and lead to the same behaviour as in other systems. ...
      (freebsd-hackers)