They do a combination of their own indexing and using the API of sites like Bing (not sure if I got the second part exactly right, the point is the Bing results are there with MS's blessing).
More discussion of ddg's internals are on the Reddit AMA[1] and the founder's blog[2]
[1]http://www.reddit.com/r/IAmA/comments/bbqw7/i_am_the_founder... [2] http://www.gabrielweinberg.com/blog/
It seems it just scrapes other search engines, is that true? If so, won't ddg just be blocked by those major search engines if it ever picks up any useful traffic?
Not trying to be inflammatory, just curious.