\newglossaryentry{API}
{
    name={API},
    description={Application Programming Interface: FooBar}
}

\newglossaryentry{DNS}
{
    name={DNS},
    description={Domain Name System}
}