Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Name resolution

Status
Not open for further replies.

Tweetums

Technical User
Joined
Dec 19, 2001
Messages
2
Location
CA
Hello.

Hope someone can give me some ideas, suggestions, or lead me to the
right direction on where to look for the right answers.

I just installed OBSD3.1 thru ftp, went thru the defaults, except that I partitioned the HDD rather than stick with just "/" and "swap". Install went smoothly, to my surprise, and contrary to the "trauma" that other people have gone thru.

Being new to *nix OS in general, I accidentally deleted a command from /etc. I immediately realised my stupidity. I was logged in as 'su' at the time, as I was in the process of downloading packages. Rather than research on how to retieve or undo my mistake (and also being 1:00 a.m.), I decided to reinstall the OS. Again, no hitches during the install.

As I was going to get some packages from the ftp site, that's when trouble started. It seems that I can't get thru if I try to open domains but if I open ftp sites using IP addresses, I get in.

In Windows, one only needs to nuke the Winsock in the registry and rebuild it for it to resolve domains.

What file in OBSD3.1 needs to be configured for name resolution to take place?

I appreciate your help.


Miguel



ftp> open ftp.openbsd.org
ftp: ftp.openbsd.org: non-recoverable failure in name resolution
ftp> open ftp.interbaun.com
ftp: ftp.interbaun.com: non-recoverable failure in name resolution
ftp> open 209.115.204.2
Connected to 209.115.204.2.
220 moe Microsoft FTP Service (Version 4.0).
Name (209.115.204.2:miguele): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-Welcome to Interbaun Communications' FTP server.
230-
230-All transactions are logged.
230 Anonymous user logged in.
Remote system type is Windows_NT.

------<snip>-------

excalibur# ping ftp.openbsd.org
ping: unknown host: ftp.openbsd.org
excalibur# ping ftp.interbaun.com
ping: unknown host: ftp.interbaun.com
excalibur# ping 209.115.204.2
PING 209.115.204.2 (209.115.204.2): 56 data bytes
64 bytes from 209.115.204.2: icmp_seq=0 ttl=125 time=22.388 ms
64 bytes from 209.115.204.2: icmp_seq=1 ttl=125 time=28.774 ms
64 bytes from 209.115.204.2: icmp_seq=2 ttl=125 time=23.516 ms
--- 209.115.204.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 22.388/24.892/28.774/2.788 ms
 
Hi,

create file call resolv.conf in /etc folder. Example:

search isp.com
nameserver ispdnsip
nameserver ispdnsip

regards,
feroz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top