You are not logged in.

#1 2004-10-09 12:08:02

usenix
Member
From: Bremen, EU
Registered: 2004-06-30
Posts: 14

static ip - dns configuration?

i had to change from dhcp to a static ip. i suppose i configured the static ip and the gateway in correct manner in rc.conf, but i don't know how to procede with my isp's dns address ...

any help would be appreciated!

Offline

#2 2004-10-09 16:15:16

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: static ip - dns configuration?

you'll get a better response from somebody with more experience in this kind of thing, but here's my total knowledge on the subject: investigate '/etc/resolv.conf'

google and 'man resolv.conf' are a start. If that doesn't help, somebody else can probably give you a better pointer.

Dusty

Offline

#3 2004-10-10 03:35:41

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: static ip - dns configuration?

/etc/resolve.conf

##search domain.com
##this means if you were to ping the machine named "funky"
##your box would assume that funky.google.com was local to it
##read manaul for further information
search google.com

##nameserver ipaddress
##this is a list of nameservers that your machine will send dns requests to
##the order determines something...I think it is if the first can't be reached,
##the next one is tried..etc.
nameserver 123.123.123.123
nameserver 123.123.123.124
nameserver 123.123.123.125


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2004-10-10 12:12:03

usenix
Member
From: Bremen, EU
Registered: 2004-06-30
Posts: 14

Re: static ip - dns configuration?

thanx a lot dusty and cactus - resolv.conf is all i was looking for. i havn't known about this config file ...

Offline

Board footer

Powered by FluxBB