DNS settings in FreeBSD?

2005-07-27 Thread Xu Qiang
Hi, all: 

Last time I asked you that why the machine can map the hostname to ip address 
without setting DNS Server in /etc/rc.conf. 

Now I remember that I have provided DNS ip address in the initial installing 
stage, where the installation wizard asked for me about the settings step by 
step, in which I set the machine's hostname, ip address, domain, gateway, 
subnet mask, and DNS server ip address. 

Now, when I open the file /etc/rc.conf, I found the machine's hostname, ip 
address, subnet mask, domain, and gateway/router are all in it. 

Yet, where is the DNS setting? If not in this file, which file does this 
setting reside in?

P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Windows 
format to Unix format, what is the corresponding command in FreeBSD?


Thanks, 
Xu Qiang


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS settings in FreeBSD?

2005-07-27 Thread Glenn Dawson

At 01:46 AM 7/27/2005, Xu Qiang wrote:

Hi, all:

Last time I asked you that why the machine can map the hostname to ip 
address without setting DNS Server in /etc/rc.conf.


Now I remember that I have provided DNS ip address in the initial 
installing stage, where the installation wizard asked for me about the 
settings step by step, in which I set the machine's hostname, ip address, 
domain, gateway, subnet mask, and DNS server ip address.


Now, when I open the file /etc/rc.conf, I found the machine's hostname, 
ip address, subnet mask, domain, and gateway/router are all in it.


Yet, where is the DNS setting? If not in this file, which file does this 
setting reside in?


/etc/resolv.conf


P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Windows 
format to Unix format, what is the corresponding command in FreeBSD?


Install the dosunix port,  It's in /usr/ports/converters/dosunix

-Glenn




Thanks,
Xu Qiang


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS settings in FreeBSD?

2005-07-27 Thread Nikolas Britton
On 7/27/05, Xu Qiang [EMAIL PROTECTED] wrote:
 Hi, all:
 
 Last time I asked you that why the machine can map the hostname to ip address 
 without setting DNS Server in /etc/rc.conf.
 
 Now I remember that I have provided DNS ip address in the initial installing 
 stage, where the installation wizard asked for me about the settings step by 
 step, in which I set the machine's hostname, ip address, domain, gateway, 
 subnet mask, and DNS server ip address.
 
 Now, when I open the file /etc/rc.conf, I found the machine's hostname, ip 
 address, subnet mask, domain, and gateway/router are all in it.
 
 Yet, where is the DNS setting? If not in this file, which file does this 
 setting reside in?
 
 P.S.: In solaris, I can use dos2unix to transfer txt file from DOS/Windows 
 format to Unix format, what is the corresponding command in FreeBSD?

Try /etc/resolv.conf and /etc/hosts
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DNS settings in FreeBSD?

2005-07-27 Thread Norbert Koch
 Yet, where is the DNS setting? If not in this file, which file 
 does this setting reside in?
 

/etc/resolv.conf


 P.S.: In solaris, I can use dos2unix to transfer txt file from 
 DOS/Windows format to Unix format, what is the corresponding 
 command in FreeBSD?

The same. Just install it from ports.


Norbert
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: DNS settings in FreeBSD?

2005-07-27 Thread Xu Qiang
Glenn Dawson wrote:
 At 01:46 AM 7/27/2005, Xu Qiang wrote:
 Hi, all:
 
 Last time I asked you that why the machine can map the hostname to ip
 address without setting DNS Server in /etc/rc.conf.
 
 Now I remember that I have provided DNS ip address in the initial
 installing stage, where the installation wizard asked for me about
 the settings step by step, in which I set the machine's hostname, ip
 address, domain, gateway, subnet mask, and DNS server ip address.
 
 Now, when I open the file /etc/rc.conf, I found the machine's
 hostname, ip address, subnet mask, domain, and gateway/router are
 all in it. 
 
 Yet, where is the DNS setting? If not in this file, which file does
 this setting reside in?
 
 /etc/resolv.conf
 
 
 P.S.: In solaris, I can use dos2unix to transfer txt file from
 DOS/Windows format to Unix format, what is the corresponding command
 in FreeBSD? 
 
 Install the dosunix port,  It's in /usr/ports/converters/dosunix
 
 -Glenn

Got it, thank you!

Regards,
Xu Qiang

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]