Sponsored Content
Full Discussion: resolv.conf
Top Forums UNIX for Dummies Questions & Answers resolv.conf Post 302331063 by Neo on Friday 3rd of July 2009 09:22:48 AM
Old 07-03-2009
Hi Dan,

Glad you found your answer.

One of the issues with any forum, especially a large one, is how to prioritize the questions. Most forums, like this one, are "flat" in a sense that all questions are treated equally, so to speak.

Because of this, I am considering to create a new forum called something like "The Bits High Priority Forum" or something like that. In that forum,
posters who have urgent questions can spend their Bits to get higher priority from any volunteer, like me, who might look in that forum first.

For example, if we charged 20,000 Bits for a high priority question, this means that new members who simply register and login for the first time, will not have enough Bits to post in the high priority forum. On the other hand, member who make contributions will have plenty of Bits, like all the active members who have been around for a long time.

In addition, of course, new member could get more Bits by winning them in the casino, a lottery, or having other members give Bits to them for great replies etc. In addition, of course, a new member, in theory, could contact another member and make a real cash offer for their Bits.

As an example, you could ask, via a PM, "Hey Man, could you sell me 1,000,000 Bits for $5 dollars. I will PayPal the money to you, OK?"

I don't think I would sell 1,000,000 of my Bits for $5, but someone else might! Or, you could offer more.... this creates a market, of course, based on the buyer and the seller.

The point being that active members who contribute are rewarded by the Bits activity system. In addition, there would be a way to get higher priority for important questions.

These are my thoughts, and hopefully, something like what I have described would solve the problem of certain people who have been around for some time, not getting the priority they desire.

Cheers.
 

10 More Discussions You Might Find Interesting

1. IP Networking

/etc/resolv.conf

I am new to unix. I have edited the /etc/resolv.conf. It shows domain name ip address ip address These are the same ips of the dns I use for windows. Still I get no name resolution on the internet. I can ping external ip's is there anything else I need to check? (1 Reply)
Discussion started by: rpnhavoc
1 Replies

2. UNIX for Dummies Questions & Answers

dns and resolv.conf

Hi ,,still struggling with unix ,,the system is running sco openserver release 5 and have dsl installed ,, the dsl modem is a bt router which in turn is connected to a vpn hardware router,, which also serves internet to the whole network ,, but i still cant connect to the internet via the unix box... (10 Replies)
Discussion started by: b03der
10 Replies

3. SuSE

Suse 10 resolv.conf

I want to have 7 search domains in my resolv.conf, but it seems to like only the first six. I read somewhere that the OS will only recognize the first 6 (or the first 154 characters). Is that the case with SUSE 10? thx -Kevin (2 Replies)
Discussion started by: kjbaumann
2 Replies

4. Solaris

resolv.conf & the internet

Hi I have DNS setup on Solaris 10 thought it isn't reoslveing Internet addresses properly If I traceroute The UNIX and Linux Forums - the Top UNIX & Linux Q&A on the Web, I get to a hop to my DSL router but no further hops - DNS Client & Multicast services are running - nsswitch.conf is... (1 Reply)
Discussion started by: stevie_velvet
1 Replies

5. Shell Programming and Scripting

resolv.conf

HI ALL I am making a script,That will does the following,I am in search of ideas 1.Script will comment all existing the entries in resolve.conf 2.Add new entries like this abc.example.com 192.168.1.x I can use sed to add comment. (8 Replies)
Discussion started by: aliahsan81
8 Replies

6. UNIX for Dummies Questions & Answers

Search directive in resolv.conf

Hi all, I am doing an assignment and there is something I am confused about. The requirement is to set up the DNS and sendmail to two domains: lab1 and lab2, with hosts of mail.lab1 and mail.lab2 both acting as DNS server and email server, and send mail from root@lab1 to root@lab2. However, it... (4 Replies)
Discussion started by: tetelee
4 Replies

7. Ubuntu

resolv.conf

Hi, My resolv.conf keeps overwritten. I want to have it to just keep the setting that I put in there. I tried a few solutions I found using google. like supersede domain-name "xxx", prepend domain-name-servers xxx.xxx.xxx.xxx; This does'nt work. I also tried to just chmod the file to... (4 Replies)
Discussion started by: jld
4 Replies

8. Red Hat

save resolv.conf in linux

hi, I use red hat linux . When I start up network service . I get below error in eth2 root@vls etc]# service network restart Shutting down interface eth2: Shutting down loopback interface: Bringing up loopback interface: Bringing up interface eth2: RTNETLINK answers: File exists Error... (10 Replies)
Discussion started by: chuikingman
10 Replies

9. Red Hat

Issue on resolv.conf

Hi all, :( I am facing issue while I have updated in resolv.conf, after nework service restart, it was automatically deleted IP from resolv.conf file. Could you please let me know what is the reason resolv.conf deleted any IP which I have manually updated, but it store only my router IP... (3 Replies)
Discussion started by: Pradipta Kumar
3 Replies

10. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
poll(2) 							   System Calls 							   poll(2)

NAME
poll - input/output multiplexing SYNOPSIS
#include <poll.h> int poll(struct pollfd fds[], nfds_t nfds, int timeout); DESCRIPTION
The poll() function provides applications with a mechanism for multiplexing input/output over a set of file descriptors. For each member of the array pointed to by fds, poll() examines the given file descriptor for the event(s) specified in events. The number of pollfd struc- tures in the fds array is specified by nfds. The poll() function identifies those file descriptors on which an application can read or write data, or on which certain events have occurred. The fds argument specifies the file descriptors to be examined and the events of interest for each file descriptor. It is a pointer to an array with one member for each open file descriptor of interest. The array's members are pollfd structures, which contain the following members: int fd; /* file descriptor */ short events; /* requested events */ short revents; /* returned events */ The fd member specifies an open file descriptor and the events and revents members are bitmasks constructed by a logical OR operation of any combination of the following event flags: POLLIN Data other than high priority data may be read without blocking. For STREAMS, this flag is set in revents even if the mes- sage is of zero length. POLLRDNORM Normal data (priority band equals 0) may be read without blocking. For STREAMS, this flag is set in revents even if the message is of zero length. POLLRDBAND Data from a non-zero priority band may be read without blocking. For STREAMS, this flag is set in revents even if the mes- sage is of zero length. POLLPRI High priority data may be received without blocking. For STREAMS, this flag is set in revents even if the message is of zero length. POLLOUT Normal data (priority band equals 0) may be written without blocking. POLLWRNORM The same as POLLOUT. POLLWRBAND Priority data (priority band > 0) may be written. This event only examines bands that have been written to at least once. POLLERR An error has occurred on the device or stream. This flag is only valid in the revents bitmask; it is not used in the events member. POLLHUP A hangup has occurred on the stream. This event and POLLOUT are mutually exclusive; a stream can never be writable if a hangup has occurred. However, this event and POLLIN, POLLRDNORM, POLLRDBAND, or POLLPRI are not mutually exclusive. This flag is only valid in the revents bitmask; it is not used in the events member. POLLNVAL The specified fd value does not belong to an open file. This flag is only valid in the revents member; it is not used in the events member. If the value fd is less than 0, events is ignored and revents is set to 0 in that entry on return from poll(). The results of the poll() query are stored in the revents member in the pollfd structure. Bits are set in the revents bitmask to indicate which of the requested events are true. If none are true, none of the specified bits are set in revents when the poll() call returns. The event flags POLLHUP, POLLERR, and POLLNVAL are always set in revents if the conditions they indicate are true; this occurs even though these flags were not present in events. If none of the defined events have occurred on any selected file descriptor, poll() waits at least timeout milliseconds for an event to occur on any of the selected file descriptors. On a computer where millisecond timing accuracy is not available, timeout is rounded up to the nearest legal value available on that system. If the value timeout is 0, poll() returns immediately. If the value of timeout is -1, poll() blocks until a requested event occurs or until the call is interrupted. The poll() function is not affected by the O_NDELAY and O_NONBLOCK flags. The poll() function supports regular files, terminal and pseudo-terminal devices, STREAMS-based files, FIFOs and pipes. The behavior of poll() on elements of fds that refer to other types of file is unspecified. The poll() function supports sockets. A file descriptor for a socket that is listening for connections will indicate that it is ready for reading, once connections are avail- able. A file descriptor for a socket that is connecting asynchronously will indicate that it is ready for writing, once a connection has been established. Regular files always poll() TRUE for reading and writing. RETURN VALUES
Upon successful completion, a non-negative value is returned. A positive value indicates the total number of file descriptors that has been selected (that is, file descriptors for which the revents member is non-zero). A value of 0 indicates that the call timed out and no file descriptors have been selected. Upon failure, -1 is returned and errno is set to indicate the error. ERRORS
The poll() function will fail if: EAGAIN Allocation of internal data structures failed, but the request may be attempted again. EFAULT Some argument points to an illegal address. EINTR A signal was caught during the poll() function. EINVAL The argument nfds is greater than {OPEN_MAX}, or one of the fd members refers to a STREAM or multiplexer that is linked (directly or indirectly) downstream from a multiplexer. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
intro(2), getmsg(2), getrlimit(2), putmsg(2), read(2), write(2), select(3C), attributes(5), standards(5), chpoll(9E) STREAMS Programming Guide NOTES
Non-STREAMS drivers use chpoll(9E) to implement poll() on these devices. SunOS 5.10 23 Aug 2001 poll(2)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy