summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/dns.c
AgeCommit message (Expand)Author
2012-04-14improve readabilityEric Faurot
2012-01-11Try to parse hostnames as IP addresses before resolving. This allowsEric Faurot
2012-01-11Improve error reporting. Most errors during hostname lookup areEric Faurot
2011-09-01Introduce a small set of functions to manage stat counters in aEric Faurot
2011-07-20Fix reporting of permanent/temporary failures for MX lookups.Eric Faurot
2011-07-03imsg.h requires sys/queue.h and sys/uio.h.Nicholas Marriott
2011-05-06move dns session specific structs and prototypes out of smtpd.h.Eric Faurot
2011-05-01the smtpd env is meant to be global, so do not pass it all around.Eric Faurot
2011-04-17cleanups, cosmethic changes, functions that should be static are now staticGilles Chehade
2011-04-02add stat counters for the lookup agentEric Faurot
2011-03-31cleanup and simplification following the asr update.Eric Faurot
2011-03-29remove unused code now that reverse lookups are done through asr.Eric Faurot
2011-03-29make use the cname query interface from asr for reverse lookupsEric Faurot
2011-03-27add a function to factorize resetting of dnssession events.Eric Faurot
2011-03-26Fix the MX lookup process:Eric Faurot
2011-03-26Tweak the asr API to make things a bit smoother on the user side.Eric Faurot
2011-03-26use an index for iterating into the mx list.Eric Faurot
2011-03-23Simplify resolver initialization. This is done only onceEric Faurot
2011-03-09make similar code .. more similarTodd T. Fries
2011-03-09*** empty log message ***Todd T. Fries
2010-12-19If MX lookup fails, fallback to using the host itself. This has always beenGilles Chehade
2010-12-12use memcpy instead of a cast/deref dance that was reading pastJonathan Gray
2010-11-29replace the fork-based-non-blocking-resolver-hack by shiny async resolverGilles Chehade
2010-11-28remove unused headersGilles Chehade
2010-11-28a bit of .h cleanups, no functionnal changeGilles Chehade
2010-09-08we do dns resolutions in a separate process because we don't have an asyncGilles Chehade
2010-06-29force the dns buffers to be aligned using a union, until the retardedTheo de Raadt
2010-06-02check event_dispatch() return valueCharles Longeau
2009-11-14add missing header needed by signal()Charles Longeau
2009-11-11Fix previous. When configured to relay via IP address, MX lookup would failJacek Masiulaniec
2009-11-05Consider DNS lookups that result in NXDOMAIN to be a permanent failure.Joel Sing
2009-11-05Introduce a 6yz status code, used internally to report permanent errors.Joel Sing
2009-09-03imsg_get sets errno so use fatal instead of fatalx.Jacek Masiulaniec
2009-08-08import some changes from portable smtpd to reduce the delta between both.Gilles Chehade
2009-06-06Sync with relayd:Pierre-Yves Ritschard
2009-06-05make smtpd's imsg lib ready, just like relayd and ospfd.Pierre-Yves Ritschard
2009-06-01Fix EV_READ/EV_WRITE testing inside IMSG handlers. Based on similar changeJacek Masiulaniec
2009-05-09- New API to handle all DNS query types (A, MX, PTR) asynchronously.Jacek Masiulaniec
2009-02-22replace MAX* constants by sizeof where possibleOleg Safiullin
2009-02-15If MX query fails due to DNS error, do not attempt more queries; ok gilles@Jacek Masiulaniec
2009-02-15Fix a bug where list of 6 MXs or more was not handled correctly.Jacek Masiulaniec
2009-01-01remove unnecessary includes; ok gilles@Jacek Masiulaniec
2008-12-05- more err/errx -> fatal/fatalx, warn/warnx -> log_warn/log_warnxGilles Chehade
2008-12-01- in mxsort, fix type of loop counter, it will never be < 0 if it isGilles Chehade
2008-11-25- move prototype to smtpd.hGilles Chehade
2008-11-10insertion sort is faster than bubble sort. ok gillesTed Unangst
2008-11-05add a few missing id tags; there are a bunch of files, and developersIgor Sobrado
2008-11-01smtpd is a smtp server implementation for OpenBSD. It is a work in progressGilles Chehade