Complex DNS problem