SunQuest
           DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 17th, 2004, 01:08 PM
Janani411 Janani411 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 Janani411 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question help please!!!

i need some help badly. i am an undergrad and i need some help with my assignment - in C (UNIX env).

"Write a DNS client and a DNS server. The client should accept two command line parameters, the first is the name (or IP address) of your DNS server, second is a hostname. Client should use a UDP DNS request to find the IP address of the hostname listed as the second command line parameter. Create your own resolv.conf to allow the client to know about your own DNS server.

Use only UDP. If your server responds with a message that indicates the reply was truncated, you do not need to use TCP to retry the query - just print out a message indicating that the response was truncated.

Your client must work even if the server refuses to provide recursion. In this situation the server should send back a list of other (DNS) name servers who can answer the question - your program should ask one of the name servers for the answer. For this part, the default name servers available in our campus must be queried.

You client should print out the answer (the IP address of the hostname indicated on the command line), it does not need to print out other information (you don't need to print out all the resource records sent by the server).

The DNS server should accept the queries from your client and send back the resource records available in its DNS database to the client, which shall be accessible to the client through hostent structure. Make your DNS server a Daemon Process. "

I am a newbie in network programming. So I really need some help with this. Can someone please tell me how to begin and what to do???

Reply With Quote
  #2  
Old March 17th, 2004, 03:26 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
wow, that's some assignment. I've written a few DNS clients before. I can help, but I'm not going to hold your hand or do it for you. Ask specific questions and I'll give you answers.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > help please!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway