The main concentration camps used for extermination were:
Auschwitz opened in May 1940 as an Army barracks at first, pre construction site inspection in February 1940;
Belzec built in November 1941;
Chelmno operated from December 1941;
Jasenovac built in August 1941;
Majdanek operated from October 1941;
Maly Trostenets used as a POW camp for Soviet soldiers when built in the summer of 1941, switched to an extermination camp in May 1942;
Sobibor forced labour camps from 1940 and an extermination camp added in 1942;
Treblinka built in April 1942.
There were other internment and concentration camps built during the war where people were used as forced labour and died in large number due to malnutrition and overwork, but they were not identified extermination camps tasked with deliberately killing people in job lots; they did it by lack of feeding and general abuse. Some the worst were Warsaw Camp (not the city ghetto area), Sajmiste, Janowska, but there were many other camps too, over a thousand of them all up. All but a few built after the war started and most were used as forced labour camps.
In January 1939 Hitler made his first direct annihilation threat against the Jews in a speech, but the establishment of the extermination program didn't start until December 1941.
Prior to WW2 Jews were repressed in Germany, but they were not being exterminate, although some were put in forced labour camps. These were first established as a place to put all the dissidents, nit just Jews, although the Jews made up the majority of the population. They were not well looked after, but those in the camps weren't subject to the abuse they got in the 1940s and they weren't killed indiscriminately during the 1930s.
You mention two specific camps, and here's a bit more on them.
Dachau was opened as a camp for German political prisoners in March 1933 with Germans of all religious persuasions and any strong politics that weren't in support of the Nazis. Later ordinary German criminals were added to the camp population and then when the war started prisoners from other countries were added, many were Christian religious leaders. There were also a number of satellite sub-camps. The camp was originally intended to hold only 5,000 people, but as the numbers grew it became very overcrowded and since they were all political enemies the guards didn't care about their welfare. With a few exceptions said to be related to escape attempts, the deaths in the camp did not start until after the severe crowding during the war when many died due to malnutrition or being worked to death as it was a labour camp, there is no evidence of mass exterminations going on at Dachau the way they occurred at the extermination camps listed above.
Bergen-Belsen started life as a labour camp for the workers building a nearby military barracks and base. It was empted when the base was completed in late 1938 early 1939. However it was reopened as a POW camp after the invasion of Poland in September 1939. It remained primarily a POW camp for French, Belgians, and Soviets, but part was taken over in 1943 as a civilian holding camp. Thousands died due to malnutrition and over work. It was also the main hospital for POW in the region.
There were a few other pre WW2 camps built for political prisoners and used as forced labour camps as well, but not many - I think, from memory, it was about 8 to ten all up.
From the above it's clear that the world did know or expect the extermination of prisoners prior to about 1940 or 1941 when reports started coming out of the German occupied areas about some of the camps. There were a few indicators about poor feeding and mistreatment in the labour camps prior to the war, but at that time there weren't large death tolls either. The heavy abuse and deaths started in 1941.
If you want to discuss this in detail, we need to make a whole new thread of it, but I doubt much will come out of it as a lot of the real facts were buried during and just after the war, and what is known is well established now and in lots of history books etc.